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

80 lines
2.9 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 EditMediaTaskOutput : AbstractModel
{
/// <summary>
/// 文件类型,例如 mp4、flv 等。
/// </summary>
[JsonProperty("FileType")]
public string FileType{ get; set; }
/// <summary>
/// 媒体文件播放地址。
/// </summary>
[JsonProperty("FileUrl")]
public string FileUrl{ get; set; }
/// <summary>
/// 媒体文件 ID。
/// </summary>
[JsonProperty("FileId")]
public string FileId{ get; set; }
/// <summary>
/// 输出文件名,最长 64 个字符。缺省由系统指定生成文件名。
/// </summary>
[JsonProperty("MediaName")]
public string MediaName{ 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>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "FileType", this.FileType);
this.SetParamSimple(map, prefix + "FileUrl", this.FileUrl);
this.SetParamSimple(map, prefix + "FileId", this.FileId);
this.SetParamSimple(map, prefix + "MediaName", this.MediaName);
this.SetParamSimple(map, prefix + "ClassId", this.ClassId);
this.SetParamSimple(map, prefix + "ExpireTime", this.ExpireTime);
}
}
}