/* * 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 ComposeMediaOutput : AbstractModel { /// /// 文件名称,最长 64 个字符。 /// [JsonProperty("FileName")] public string FileName{ get; set; } /// /// 描述信息,最长 128 个字符。 /// [JsonProperty("Description")] public string Description{ get; set; } /// /// 分类ID,用于对媒体进行分类管理,可通过 [创建分类](/document/product/266/7812) 接口,创建分类,获得分类 ID。 ///
  • 默认值:0,表示其他分类。
  • ///
    [JsonProperty("ClassId")] public long? ClassId{ get; set; } /// /// 输出文件的过期时间,超过该时间文件将被删除,默认为永久不过期,格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。 /// [JsonProperty("ExpireTime")] public string ExpireTime{ get; set; } /// /// 封装格式,可选值:mp4、mp3。其中,mp3 为纯音频文件。 /// [JsonProperty("Container")] public string Container{ get; set; } /// /// 输出的视频信息。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("VideoStream")] public OutputVideoStream VideoStream{ get; set; } /// /// 输出的音频信息。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("AudioStream")] public OutputAudioStream AudioStream{ get; set; } /// /// 是否去除视频数据,可选值: ///
  • 0:保留
  • ///
  • 1:去除
  • /// 默认值:0。 ///
    [JsonProperty("RemoveVideo")] public long? RemoveVideo{ get; set; } /// /// 是否去除音频数据,可选值: ///
  • 0:保留
  • ///
  • 1:去除
  • /// 默认值:0。 ///
    [JsonProperty("RemoveAudio")] public long? RemoveAudio{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "FileName", this.FileName); this.SetParamSimple(map, prefix + "Description", this.Description); this.SetParamSimple(map, prefix + "ClassId", this.ClassId); this.SetParamSimple(map, prefix + "ExpireTime", this.ExpireTime); this.SetParamSimple(map, prefix + "Container", this.Container); this.SetParamObj(map, prefix + "VideoStream.", this.VideoStream); this.SetParamObj(map, prefix + "AudioStream.", this.AudioStream); this.SetParamSimple(map, prefix + "RemoveVideo", this.RemoveVideo); this.SetParamSimple(map, prefix + "RemoveAudio", this.RemoveAudio); } } }