/* * 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 { /// /// 推流[直播码](https://cloud.tencent.com/document/product/267/5959)。 /// [JsonProperty("StreamId")] public string StreamId{ get; set; } /// /// 流剪辑的开始时间,格式参照 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。 /// [JsonProperty("StartTime")] public string StartTime{ get; set; } /// /// 流剪辑的结束时间,格式参照 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。 /// [JsonProperty("EndTime")] public string EndTime{ get; set; } /// /// 是否固化。0 不固化,1 固化。默认不固化。 /// [JsonProperty("IsPersistence")] public long? IsPersistence{ get; set; } /// /// 剪辑固化后的视频存储过期时间。格式参照 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。填“9999-12-31T23:59:59Z”表示永不过期。过期后该媒体文件及其相关资源(转码结果、雪碧图等)将被永久删除。仅 IsPersistence 为 1 时有效,默认剪辑固化的视频永不过期。 /// [JsonProperty("ExpireTime")] public string ExpireTime{ get; set; } /// /// 剪辑固化后的视频点播任务流处理,详见[上传指定任务流](https://cloud.tencent.com/document/product/266/9759)。仅 IsPersistence 为 1 时有效。 /// [JsonProperty("Procedure")] public string Procedure{ get; set; } /// /// 是否需要返回剪辑后的视频元信息。0 不需要,1 需要。默认不需要。 /// [JsonProperty("MetaDataRequired")] public ulong? MetaDataRequired{ get; set; } /// /// 即时剪辑使用的域名,必须在直播侧开通时移。 /// [JsonProperty("Host")] public string Host{ get; set; } /// /// 系统保留字段,请勿填写。 /// [JsonProperty("ExtInfo")] public string ExtInfo{ get; set; } /// /// 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。 /// [JsonProperty("SubAppId")] public ulong? SubAppId{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary 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); } } }