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

com.tencentcloudapi.vod.v20180717.models.ModifySuperPlayerConfigRequest 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 ModifySuperPlayerConfigRequest extends AbstractModel{

    /**
    * 播放器配置名称。
    */
    @SerializedName("Name")
    @Expose
    private String Name;

    /**
    * 播放 DRM 保护的自适应码流开关:
  • ON:开启,表示仅播放 DRM 保护的自适应码流输出;
  • OFF:关闭,表示播放未加密的自适应码流输出。
  • */ @SerializedName("DrmSwitch") @Expose private String DrmSwitch; /** * 允许输出的未加密的自适应码流模板 ID。 */ @SerializedName("AdaptiveDynamicStreamingDefinition") @Expose private Long AdaptiveDynamicStreamingDefinition; /** * 允许输出的 DRM 自适应码流模板内容。 */ @SerializedName("DrmStreamingsInfo") @Expose private DrmStreamingsInfoForUpdate DrmStreamingsInfo; /** * 允许输出的雪碧图模板 ID。 */ @SerializedName("ImageSpriteDefinition") @Expose private Long ImageSpriteDefinition; /** * 播放器对不于不同分辨率的子流展示名字。 */ @SerializedName("ResolutionNames") @Expose private ResolutionNameInfo [] ResolutionNames; /** * 播放时使用的域名。填 Default 表示使用[默认分发配置](https://cloud.tencent.com/document/product/266/33373)中的域名。 */ @SerializedName("Domain") @Expose private String Domain; /** * 播放时使用的 Scheme。取值范围:
  • Default:使用[默认分发配置](https://cloud.tencent.com/document/product/266/33373)中的 Scheme;
  • HTTP;
  • HTTPS。
  • */ @SerializedName("Scheme") @Expose private String Scheme; /** * 模板描述信息,长度限制:256 个字符。 */ @SerializedName("Comment") @Expose private String Comment; /** * 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。 */ @SerializedName("SubAppId") @Expose private Long SubAppId; /** * Get 播放器配置名称。 * @return Name 播放器配置名称。 */ public String getName() { return this.Name; } /** * Set 播放器配置名称。 * @param Name 播放器配置名称。 */ public void setName(String Name) { this.Name = Name; } /** * Get 播放 DRM 保护的自适应码流开关:
  • ON:开启,表示仅播放 DRM 保护的自适应码流输出;
  • OFF:关闭,表示播放未加密的自适应码流输出。
  • * @return DrmSwitch 播放 DRM 保护的自适应码流开关:
  • ON:开启,表示仅播放 DRM 保护的自适应码流输出;
  • OFF:关闭,表示播放未加密的自适应码流输出。
  • */ public String getDrmSwitch() { return this.DrmSwitch; } /** * Set 播放 DRM 保护的自适应码流开关:
  • ON:开启,表示仅播放 DRM 保护的自适应码流输出;
  • OFF:关闭,表示播放未加密的自适应码流输出。
  • * @param DrmSwitch 播放 DRM 保护的自适应码流开关:
  • ON:开启,表示仅播放 DRM 保护的自适应码流输出;
  • OFF:关闭,表示播放未加密的自适应码流输出。
  • */ public void setDrmSwitch(String DrmSwitch) { this.DrmSwitch = DrmSwitch; } /** * Get 允许输出的未加密的自适应码流模板 ID。 * @return AdaptiveDynamicStreamingDefinition 允许输出的未加密的自适应码流模板 ID。 */ public Long getAdaptiveDynamicStreamingDefinition() { return this.AdaptiveDynamicStreamingDefinition; } /** * Set 允许输出的未加密的自适应码流模板 ID。 * @param AdaptiveDynamicStreamingDefinition 允许输出的未加密的自适应码流模板 ID。 */ public void setAdaptiveDynamicStreamingDefinition(Long AdaptiveDynamicStreamingDefinition) { this.AdaptiveDynamicStreamingDefinition = AdaptiveDynamicStreamingDefinition; } /** * Get 允许输出的 DRM 自适应码流模板内容。 * @return DrmStreamingsInfo 允许输出的 DRM 自适应码流模板内容。 */ public DrmStreamingsInfoForUpdate getDrmStreamingsInfo() { return this.DrmStreamingsInfo; } /** * Set 允许输出的 DRM 自适应码流模板内容。 * @param DrmStreamingsInfo 允许输出的 DRM 自适应码流模板内容。 */ public void setDrmStreamingsInfo(DrmStreamingsInfoForUpdate DrmStreamingsInfo) { this.DrmStreamingsInfo = DrmStreamingsInfo; } /** * Get 允许输出的雪碧图模板 ID。 * @return ImageSpriteDefinition 允许输出的雪碧图模板 ID。 */ public Long getImageSpriteDefinition() { return this.ImageSpriteDefinition; } /** * Set 允许输出的雪碧图模板 ID。 * @param ImageSpriteDefinition 允许输出的雪碧图模板 ID。 */ public void setImageSpriteDefinition(Long ImageSpriteDefinition) { this.ImageSpriteDefinition = ImageSpriteDefinition; } /** * Get 播放器对不于不同分辨率的子流展示名字。 * @return ResolutionNames 播放器对不于不同分辨率的子流展示名字。 */ public ResolutionNameInfo [] getResolutionNames() { return this.ResolutionNames; } /** * Set 播放器对不于不同分辨率的子流展示名字。 * @param ResolutionNames 播放器对不于不同分辨率的子流展示名字。 */ public void setResolutionNames(ResolutionNameInfo [] ResolutionNames) { this.ResolutionNames = ResolutionNames; } /** * Get 播放时使用的域名。填 Default 表示使用[默认分发配置](https://cloud.tencent.com/document/product/266/33373)中的域名。 * @return Domain 播放时使用的域名。填 Default 表示使用[默认分发配置](https://cloud.tencent.com/document/product/266/33373)中的域名。 */ public String getDomain() { return this.Domain; } /** * Set 播放时使用的域名。填 Default 表示使用[默认分发配置](https://cloud.tencent.com/document/product/266/33373)中的域名。 * @param Domain 播放时使用的域名。填 Default 表示使用[默认分发配置](https://cloud.tencent.com/document/product/266/33373)中的域名。 */ public void setDomain(String Domain) { this.Domain = Domain; } /** * Get 播放时使用的 Scheme。取值范围:
  • Default:使用[默认分发配置](https://cloud.tencent.com/document/product/266/33373)中的 Scheme;
  • HTTP;
  • HTTPS。
  • * @return Scheme 播放时使用的 Scheme。取值范围:
  • Default:使用[默认分发配置](https://cloud.tencent.com/document/product/266/33373)中的 Scheme;
  • HTTP;
  • HTTPS。
  • */ public String getScheme() { return this.Scheme; } /** * Set 播放时使用的 Scheme。取值范围:
  • Default:使用[默认分发配置](https://cloud.tencent.com/document/product/266/33373)中的 Scheme;
  • HTTP;
  • HTTPS。
  • * @param Scheme 播放时使用的 Scheme。取值范围:
  • Default:使用[默认分发配置](https://cloud.tencent.com/document/product/266/33373)中的 Scheme;
  • HTTP;
  • HTTPS。
  • */ public void setScheme(String Scheme) { this.Scheme = Scheme; } /** * Get 模板描述信息,长度限制:256 个字符。 * @return Comment 模板描述信息,长度限制:256 个字符。 */ public String getComment() { return this.Comment; } /** * Set 模板描述信息,长度限制:256 个字符。 * @param Comment 模板描述信息,长度限制:256 个字符。 */ public void setComment(String Comment) { this.Comment = Comment; } /** * Get 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。 * @return SubAppId 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。 */ public Long getSubAppId() { return this.SubAppId; } /** * Set 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。 * @param SubAppId 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。 */ public void setSubAppId(Long SubAppId) { this.SubAppId = SubAppId; } public ModifySuperPlayerConfigRequest() { } /** * 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 ModifySuperPlayerConfigRequest(ModifySuperPlayerConfigRequest source) { if (source.Name != null) { this.Name = new String(source.Name); } if (source.DrmSwitch != null) { this.DrmSwitch = new String(source.DrmSwitch); } if (source.AdaptiveDynamicStreamingDefinition != null) { this.AdaptiveDynamicStreamingDefinition = new Long(source.AdaptiveDynamicStreamingDefinition); } if (source.DrmStreamingsInfo != null) { this.DrmStreamingsInfo = new DrmStreamingsInfoForUpdate(source.DrmStreamingsInfo); } if (source.ImageSpriteDefinition != null) { this.ImageSpriteDefinition = new Long(source.ImageSpriteDefinition); } if (source.ResolutionNames != null) { this.ResolutionNames = new ResolutionNameInfo[source.ResolutionNames.length]; for (int i = 0; i < source.ResolutionNames.length; i++) { this.ResolutionNames[i] = new ResolutionNameInfo(source.ResolutionNames[i]); } } if (source.Domain != null) { this.Domain = new String(source.Domain); } if (source.Scheme != null) { this.Scheme = new String(source.Scheme); } if (source.Comment != null) { this.Comment = new String(source.Comment); } if (source.SubAppId != null) { this.SubAppId = new Long(source.SubAppId); } } /** * Internal implementation, normal users should not use it. */ public void toMap(HashMap map, String prefix) { this.setParamSimple(map, prefix + "Name", this.Name); this.setParamSimple(map, prefix + "DrmSwitch", this.DrmSwitch); this.setParamSimple(map, prefix + "AdaptiveDynamicStreamingDefinition", this.AdaptiveDynamicStreamingDefinition); this.setParamObj(map, prefix + "DrmStreamingsInfo.", this.DrmStreamingsInfo); this.setParamSimple(map, prefix + "ImageSpriteDefinition", this.ImageSpriteDefinition); this.setParamArrayObj(map, prefix + "ResolutionNames.", this.ResolutionNames); this.setParamSimple(map, prefix + "Domain", this.Domain); this.setParamSimple(map, prefix + "Scheme", this.Scheme); this.setParamSimple(map, prefix + "Comment", this.Comment); this.setParamSimple(map, prefix + "SubAppId", this.SubAppId); } }




    © 2015 - 2024 Weber Informatics LLC | Privacy Policy