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