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

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

There is a newer version: 3.1.1104
Show newest version
/*
 * 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 AdaptiveDynamicStreamingTemplate extends AbstractModel{

    /**
    * 转自适应码流模板唯一标识。
    */
    @SerializedName("Definition")
    @Expose
    private Long Definition;

    /**
    * 模板类型,取值范围:
  • Preset:系统预置模板;
  • Custom:用户自定义模板。
  • */ @SerializedName("Type") @Expose private String Type; /** * 转自适应码流模板名称。 */ @SerializedName("Name") @Expose private String Name; /** * 转自适应码流模板描述信息。 */ @SerializedName("Comment") @Expose private String Comment; /** * 自适应转码格式,取值范围:
  • HLS。
  • */ @SerializedName("Format") @Expose private String Format; /** * DRM 类型,取值范围:
  • FairPlay;
  • SimpleAES;
  • Widevine。
  • 如果取值为空字符串,代表不对视频做 DRM 保护。 */ @SerializedName("DrmType") @Expose private String DrmType; /** * 自适应转码输入流参数信息,最多输入10路流。 */ @SerializedName("StreamInfos") @Expose private AdaptiveStreamTemplate [] StreamInfos; /** * 是否禁止视频低码率转高码率,取值范围:
  • 0:否,
  • 1:是。
  • */ @SerializedName("DisableHigherVideoBitrate") @Expose private Long DisableHigherVideoBitrate; /** * 是否禁止视频分辨率转高分辨率,取值范围:
  • 0:否,
  • 1:是。
  • */ @SerializedName("DisableHigherVideoResolution") @Expose private Long DisableHigherVideoResolution; /** * 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。 */ @SerializedName("CreateTime") @Expose private String CreateTime; /** * 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。 */ @SerializedName("UpdateTime") @Expose private String UpdateTime; /** * Get 转自适应码流模板唯一标识。 * @return Definition 转自适应码流模板唯一标识。 */ public Long getDefinition() { return this.Definition; } /** * Set 转自适应码流模板唯一标识。 * @param Definition 转自适应码流模板唯一标识。 */ public void setDefinition(Long Definition) { this.Definition = Definition; } /** * Get 模板类型,取值范围:
  • Preset:系统预置模板;
  • Custom:用户自定义模板。
  • * @return Type 模板类型,取值范围:
  • Preset:系统预置模板;
  • Custom:用户自定义模板。
  • */ public String getType() { return this.Type; } /** * Set 模板类型,取值范围:
  • Preset:系统预置模板;
  • Custom:用户自定义模板。
  • * @param Type 模板类型,取值范围:
  • Preset:系统预置模板;
  • Custom:用户自定义模板。
  • */ public void setType(String Type) { this.Type = Type; } /** * Get 转自适应码流模板名称。 * @return Name 转自适应码流模板名称。 */ public String getName() { return this.Name; } /** * Set 转自适应码流模板名称。 * @param Name 转自适应码流模板名称。 */ public void setName(String Name) { this.Name = Name; } /** * Get 转自适应码流模板描述信息。 * @return Comment 转自适应码流模板描述信息。 */ public String getComment() { return this.Comment; } /** * Set 转自适应码流模板描述信息。 * @param Comment 转自适应码流模板描述信息。 */ public void setComment(String Comment) { this.Comment = Comment; } /** * Get 自适应转码格式,取值范围:
  • HLS。
  • * @return Format 自适应转码格式,取值范围:
  • HLS。
  • */ public String getFormat() { return this.Format; } /** * Set 自适应转码格式,取值范围:
  • HLS。
  • * @param Format 自适应转码格式,取值范围:
  • HLS。
  • */ public void setFormat(String Format) { this.Format = Format; } /** * Get DRM 类型,取值范围:
  • FairPlay;
  • SimpleAES;
  • Widevine。
  • 如果取值为空字符串,代表不对视频做 DRM 保护。 * @return DrmType DRM 类型,取值范围:
  • FairPlay;
  • SimpleAES;
  • Widevine。
  • 如果取值为空字符串,代表不对视频做 DRM 保护。 */ public String getDrmType() { return this.DrmType; } /** * Set DRM 类型,取值范围:
  • FairPlay;
  • SimpleAES;
  • Widevine。
  • 如果取值为空字符串,代表不对视频做 DRM 保护。 * @param DrmType DRM 类型,取值范围:
  • FairPlay;
  • SimpleAES;
  • Widevine。
  • 如果取值为空字符串,代表不对视频做 DRM 保护。 */ public void setDrmType(String DrmType) { this.DrmType = DrmType; } /** * Get 自适应转码输入流参数信息,最多输入10路流。 * @return StreamInfos 自适应转码输入流参数信息,最多输入10路流。 */ public AdaptiveStreamTemplate [] getStreamInfos() { return this.StreamInfos; } /** * Set 自适应转码输入流参数信息,最多输入10路流。 * @param StreamInfos 自适应转码输入流参数信息,最多输入10路流。 */ public void setStreamInfos(AdaptiveStreamTemplate [] StreamInfos) { this.StreamInfos = StreamInfos; } /** * Get 是否禁止视频低码率转高码率,取值范围:
  • 0:否,
  • 1:是。
  • * @return DisableHigherVideoBitrate 是否禁止视频低码率转高码率,取值范围:
  • 0:否,
  • 1:是。
  • */ public Long getDisableHigherVideoBitrate() { return this.DisableHigherVideoBitrate; } /** * Set 是否禁止视频低码率转高码率,取值范围:
  • 0:否,
  • 1:是。
  • * @param DisableHigherVideoBitrate 是否禁止视频低码率转高码率,取值范围:
  • 0:否,
  • 1:是。
  • */ public void setDisableHigherVideoBitrate(Long DisableHigherVideoBitrate) { this.DisableHigherVideoBitrate = DisableHigherVideoBitrate; } /** * Get 是否禁止视频分辨率转高分辨率,取值范围:
  • 0:否,
  • 1:是。
  • * @return DisableHigherVideoResolution 是否禁止视频分辨率转高分辨率,取值范围:
  • 0:否,
  • 1:是。
  • */ public Long getDisableHigherVideoResolution() { return this.DisableHigherVideoResolution; } /** * Set 是否禁止视频分辨率转高分辨率,取值范围:
  • 0:否,
  • 1:是。
  • * @param DisableHigherVideoResolution 是否禁止视频分辨率转高分辨率,取值范围:
  • 0:否,
  • 1:是。
  • */ public void setDisableHigherVideoResolution(Long DisableHigherVideoResolution) { this.DisableHigherVideoResolution = DisableHigherVideoResolution; } /** * Get 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。 * @return CreateTime 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。 */ public String getCreateTime() { return this.CreateTime; } /** * Set 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。 * @param CreateTime 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。 */ public void setCreateTime(String CreateTime) { this.CreateTime = CreateTime; } /** * Get 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。 * @return UpdateTime 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。 */ public String getUpdateTime() { return this.UpdateTime; } /** * Set 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。 * @param UpdateTime 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。 */ public void setUpdateTime(String UpdateTime) { this.UpdateTime = UpdateTime; } public AdaptiveDynamicStreamingTemplate() { } /** * 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 AdaptiveDynamicStreamingTemplate(AdaptiveDynamicStreamingTemplate source) { if (source.Definition != null) { this.Definition = new Long(source.Definition); } if (source.Type != null) { this.Type = new String(source.Type); } if (source.Name != null) { this.Name = new String(source.Name); } if (source.Comment != null) { this.Comment = new String(source.Comment); } if (source.Format != null) { this.Format = new String(source.Format); } if (source.DrmType != null) { this.DrmType = new String(source.DrmType); } if (source.StreamInfos != null) { this.StreamInfos = new AdaptiveStreamTemplate[source.StreamInfos.length]; for (int i = 0; i < source.StreamInfos.length; i++) { this.StreamInfos[i] = new AdaptiveStreamTemplate(source.StreamInfos[i]); } } if (source.DisableHigherVideoBitrate != null) { this.DisableHigherVideoBitrate = new Long(source.DisableHigherVideoBitrate); } if (source.DisableHigherVideoResolution != null) { this.DisableHigherVideoResolution = new Long(source.DisableHigherVideoResolution); } if (source.CreateTime != null) { this.CreateTime = new String(source.CreateTime); } if (source.UpdateTime != null) { this.UpdateTime = new String(source.UpdateTime); } } /** * Internal implementation, normal users should not use it. */ public void toMap(HashMap map, String prefix) { this.setParamSimple(map, prefix + "Definition", this.Definition); this.setParamSimple(map, prefix + "Type", this.Type); this.setParamSimple(map, prefix + "Name", this.Name); this.setParamSimple(map, prefix + "Comment", this.Comment); this.setParamSimple(map, prefix + "Format", this.Format); this.setParamSimple(map, prefix + "DrmType", this.DrmType); this.setParamArrayObj(map, prefix + "StreamInfos.", this.StreamInfos); this.setParamSimple(map, prefix + "DisableHigherVideoBitrate", this.DisableHigherVideoBitrate); this.setParamSimple(map, prefix + "DisableHigherVideoResolution", this.DisableHigherVideoResolution); this.setParamSimple(map, prefix + "CreateTime", this.CreateTime); this.setParamSimple(map, prefix + "UpdateTime", this.UpdateTime); } }




    © 2015 - 2024 Weber Informatics LLC | Privacy Policy