/* * Copyright (c) 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. */ namespace TencentCloud.Vod.V20180717.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class DescribeTranscodeTemplatesRequest : AbstractModel { /// /// 转码模板唯一标识过滤条件,数组长度限制:100。 /// [JsonProperty("Definitions")] public long?[] Definitions{ get; set; } /// /// 模板类型过滤条件,可选值: ///
  • Preset:系统预置模板;
  • ///
  • Custom:用户自定义模板。
  • ///
    [JsonProperty("Type")] public string Type{ get; set; } /// /// 封装格式过滤条件,可选值: ///
  • Video:视频格式,可以同时包含视频流和音频流的封装格式板;
  • ///
  • PureAudio:纯音频格式,只能包含音频流的封装格式。
  • ///
    [JsonProperty("ContainerType")] public string ContainerType{ get; set; } /// /// 极速高清过滤条件,用于过滤普通转码或极速高清转码模板,可选值: ///
  • Common:普通转码模板;
  • ///
  • TEHD:极速高清模板。
  • ///
    [JsonProperty("TEHDType")] public string TEHDType{ get; set; } /// /// 分页偏移量,默认值:0。 /// [JsonProperty("Offset")] public ulong? Offset{ get; set; } /// /// 返回记录条数,默认值:10,最大值:100。 /// [JsonProperty("Limit")] public ulong? Limit{ get; set; } /// /// 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。 /// [JsonProperty("SubAppId")] public ulong? SubAppId{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamArraySimple(map, prefix + "Definitions.", this.Definitions); this.SetParamSimple(map, prefix + "Type", this.Type); this.SetParamSimple(map, prefix + "ContainerType", this.ContainerType); this.SetParamSimple(map, prefix + "TEHDType", this.TEHDType); this.SetParamSimple(map, prefix + "Offset", this.Offset); this.SetParamSimple(map, prefix + "Limit", this.Limit); this.SetParamSimple(map, prefix + "SubAppId", this.SubAppId); } } }