55 lines
1.9 KiB
C#
55 lines
1.9 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 MediaSourceData : AbstractModel
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 媒体文件的来源类别:
|
|||
|
|
/// <li>Record:来自录制。如直播录制、直播时移录制等。</li>
|
|||
|
|
/// <li>Upload:来自上传。如拉取上传、服务端上传、客户端 UGC 上传等。</li>
|
|||
|
|
/// <li>VideoProcessing:来自视频处理。如视频拼接、视频剪辑等。</li>
|
|||
|
|
/// <li>Unknown:未知来源。</li>
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("SourceType")]
|
|||
|
|
public string SourceType{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 用户创建文件时透传的字段
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("SourceContext")]
|
|||
|
|
public string SourceContext{ 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 + "SourceType", this.SourceType);
|
|||
|
|
this.SetParamSimple(map, prefix + "SourceContext", this.SourceContext);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|