All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tencentcloudapi.vod.v20180717.models.SplitMediaOutputConfig Maven / Gradle / Ivy

/*
 * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.tencentcloudapi.vod.v20180717.models;

import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class SplitMediaOutputConfig extends AbstractModel{

    /**
    * 输出文件名,最长 64 个字符。缺省由系统指定生成文件名。
    */
    @SerializedName("MediaName")
    @Expose
    private String MediaName;

    /**
    * 输出文件格式,可选值:mp4、hls。默认是 mp4。
    */
    @SerializedName("Type")
    @Expose
    private String Type;

    /**
    * 分类ID,用于对媒体进行分类管理,可通过 [创建分类](/document/product/266/7812) 接口,创建分类,获得分类 ID。
  • 默认值:0,表示其他分类。
  • */ @SerializedName("ClassId") @Expose private Long ClassId; /** * 输出文件的过期时间,超过该时间文件将被删除,默认为永久不过期,格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。 */ @SerializedName("ExpireTime") @Expose private String ExpireTime; /** * Get 输出文件名,最长 64 个字符。缺省由系统指定生成文件名。 * @return MediaName 输出文件名,最长 64 个字符。缺省由系统指定生成文件名。 */ public String getMediaName() { return this.MediaName; } /** * Set 输出文件名,最长 64 个字符。缺省由系统指定生成文件名。 * @param MediaName 输出文件名,最长 64 个字符。缺省由系统指定生成文件名。 */ public void setMediaName(String MediaName) { this.MediaName = MediaName; } /** * Get 输出文件格式,可选值:mp4、hls。默认是 mp4。 * @return Type 输出文件格式,可选值:mp4、hls。默认是 mp4。 */ public String getType() { return this.Type; } /** * Set 输出文件格式,可选值:mp4、hls。默认是 mp4。 * @param Type 输出文件格式,可选值:mp4、hls。默认是 mp4。 */ public void setType(String Type) { this.Type = Type; } /** * Get 分类ID,用于对媒体进行分类管理,可通过 [创建分类](/document/product/266/7812) 接口,创建分类,获得分类 ID。
  • 默认值:0,表示其他分类。
  • * @return ClassId 分类ID,用于对媒体进行分类管理,可通过 [创建分类](/document/product/266/7812) 接口,创建分类,获得分类 ID。
  • 默认值:0,表示其他分类。
  • */ public Long getClassId() { return this.ClassId; } /** * Set 分类ID,用于对媒体进行分类管理,可通过 [创建分类](/document/product/266/7812) 接口,创建分类,获得分类 ID。
  • 默认值:0,表示其他分类。
  • * @param ClassId 分类ID,用于对媒体进行分类管理,可通过 [创建分类](/document/product/266/7812) 接口,创建分类,获得分类 ID。
  • 默认值:0,表示其他分类。
  • */ public void setClassId(Long ClassId) { this.ClassId = ClassId; } /** * Get 输出文件的过期时间,超过该时间文件将被删除,默认为永久不过期,格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。 * @return ExpireTime 输出文件的过期时间,超过该时间文件将被删除,默认为永久不过期,格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。 */ public String getExpireTime() { return this.ExpireTime; } /** * Set 输出文件的过期时间,超过该时间文件将被删除,默认为永久不过期,格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。 * @param ExpireTime 输出文件的过期时间,超过该时间文件将被删除,默认为永久不过期,格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。 */ public void setExpireTime(String ExpireTime) { this.ExpireTime = ExpireTime; } public SplitMediaOutputConfig() { } /** * NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, * and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. */ public SplitMediaOutputConfig(SplitMediaOutputConfig source) { if (source.MediaName != null) { this.MediaName = new String(source.MediaName); } if (source.Type != null) { this.Type = new String(source.Type); } if (source.ClassId != null) { this.ClassId = new Long(source.ClassId); } if (source.ExpireTime != null) { this.ExpireTime = new String(source.ExpireTime); } } /** * Internal implementation, normal users should not use it. */ public void toMap(HashMap map, String prefix) { this.setParamSimple(map, prefix + "MediaName", this.MediaName); this.setParamSimple(map, prefix + "Type", this.Type); this.setParamSimple(map, prefix + "ClassId", this.ClassId); this.setParamSimple(map, prefix + "ExpireTime", this.ExpireTime); } }




    © 2015 - 2024 Weber Informatics LLC | Privacy Policy