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

107 lines
4.4 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 LiveRealTimeClipRequest : AbstractModel
{
/// <summary>
/// 推流[直播码](https://cloud.tencent.com/document/product/267/5959)。
/// </summary>
[JsonProperty("StreamId")]
public string StreamId{ get; set; }
/// <summary>
/// 流剪辑的开始时间,格式参照 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
/// </summary>
[JsonProperty("StartTime")]
public string StartTime{ get; set; }
/// <summary>
/// 流剪辑的结束时间,格式参照 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
/// </summary>
[JsonProperty("EndTime")]
public string EndTime{ get; set; }
/// <summary>
/// 是否固化。0 不固化1 固化。默认不固化。
/// </summary>
[JsonProperty("IsPersistence")]
public long? IsPersistence{ get; set; }
/// <summary>
/// 剪辑固化后的视频存储过期时间。格式参照 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。填“9999-12-31T23:59:59Z”表示永不过期。过期后该媒体文件及其相关资源转码结果、雪碧图等将被永久删除。仅 IsPersistence 为 1 时有效,默认剪辑固化的视频永不过期。
/// </summary>
[JsonProperty("ExpireTime")]
public string ExpireTime{ get; set; }
/// <summary>
/// 剪辑固化后的视频点播任务流处理,详见[上传指定任务流](https://cloud.tencent.com/document/product/266/9759)。仅 IsPersistence 为 1 时有效。
/// </summary>
[JsonProperty("Procedure")]
public string Procedure{ get; set; }
/// <summary>
/// 是否需要返回剪辑后的视频元信息。0 不需要1 需要。默认不需要。
/// </summary>
[JsonProperty("MetaDataRequired")]
public ulong? MetaDataRequired{ get; set; }
/// <summary>
/// 即时剪辑使用的域名,必须在直播侧开通时移。
/// </summary>
[JsonProperty("Host")]
public string Host{ 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 + "StreamId", this.StreamId);
this.SetParamSimple(map, prefix + "StartTime", this.StartTime);
this.SetParamSimple(map, prefix + "EndTime", this.EndTime);
this.SetParamSimple(map, prefix + "IsPersistence", this.IsPersistence);
this.SetParamSimple(map, prefix + "ExpireTime", this.ExpireTime);
this.SetParamSimple(map, prefix + "Procedure", this.Procedure);
this.SetParamSimple(map, prefix + "MetaDataRequired", this.MetaDataRequired);
this.SetParamSimple(map, prefix + "Host", this.Host);
this.SetParamSimple(map, prefix + "ExtInfo", this.ExtInfo);
this.SetParamSimple(map, prefix + "SubAppId", this.SubAppId);
}
}
}