Files
g.hnyhua.cn/TencentCloud/Vod/V20180717/Models/ComposeMediaOutput.cs
2026-02-07 15:48:27 +08:00

109 lines
4.0 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
* 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);
}
}
}