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

115 lines
4.7 KiB
C#
Raw 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 PullUploadRequest : AbstractModel
{
/// <summary>
/// 要拉取的媒体 URL暂不支持拉取 HLS 和 Dash 格式。
/// 支持的扩展名详见[媒体类型](https://cloud.tencent.com/document/product/266/9760#.E5.AA.92.E4.BD.93.E7.B1.BB.E5.9E.8B)。
/// </summary>
[JsonProperty("MediaUrl")]
public string MediaUrl{ get; set; }
/// <summary>
/// 媒体名称。
/// </summary>
[JsonProperty("MediaName")]
public string MediaName{ get; set; }
/// <summary>
/// 要拉取的视频封面 URL。仅支持 gif、jpeg、png 三种图片格式。
/// </summary>
[JsonProperty("CoverUrl")]
public string CoverUrl{ get; set; }
/// <summary>
/// 媒体后续任务操作,详见[上传指定任务流](https://cloud.tencent.com/document/product/266/9759)。
/// </summary>
[JsonProperty("Procedure")]
public string Procedure{ get; set; }
/// <summary>
/// 媒体文件过期时间,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
/// </summary>
[JsonProperty("ExpireTime")]
public string ExpireTime{ get; set; }
/// <summary>
/// 指定上传园区,仅适用于对上传地域有特殊需求的用户(目前仅支持北京、上海和重庆园区)。
/// </summary>
[JsonProperty("StorageRegion")]
public string StorageRegion{ get; set; }
/// <summary>
/// 分类ID用于对媒体进行分类管理可通过[创建分类](https://cloud.tencent.com/document/product/266/7812)接口,创建分类,获得分类 ID。
/// </summary>
[JsonProperty("ClassId")]
public long? ClassId{ get; set; }
/// <summary>
/// 来源上下文,用于透传用户请求信息,当指定 Procedure 任务后,任务流状态变更回调将返回该字段值,最长 1000 个字符。
/// </summary>
[JsonProperty("SessionContext")]
public string SessionContext{ get; set; }
/// <summary>
/// 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
/// </summary>
[JsonProperty("SessionId")]
public string SessionId{ get; set; }
/// <summary>
/// 保留字段,特殊用途时使用。
/// </summary>
[JsonProperty("ExtInfo")]
public string ExtInfo{ get; set; }
/// <summary>
/// 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源则将该字段填写为子应用 ID否则无需填写该字段。
/// </summary>
[JsonProperty("SubAppId")]
public ulong? SubAppId{ 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 + "MediaUrl", this.MediaUrl);
this.SetParamSimple(map, prefix + "MediaName", this.MediaName);
this.SetParamSimple(map, prefix + "CoverUrl", this.CoverUrl);
this.SetParamSimple(map, prefix + "Procedure", this.Procedure);
this.SetParamSimple(map, prefix + "ExpireTime", this.ExpireTime);
this.SetParamSimple(map, prefix + "StorageRegion", this.StorageRegion);
this.SetParamSimple(map, prefix + "ClassId", this.ClassId);
this.SetParamSimple(map, prefix + "SessionContext", this.SessionContext);
this.SetParamSimple(map, prefix + "SessionId", this.SessionId);
this.SetParamSimple(map, prefix + "ExtInfo", this.ExtInfo);
this.SetParamSimple(map, prefix + "SubAppId", this.SubAppId);
}
}
}