/* * 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.Tci.V20190318.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class SubmitOpenClassTaskRequest : AbstractModel { /// /// 输入分析对象内容,输入数据格式参考FileType参数释义 /// [JsonProperty("FileContent")] public string FileContent{ get; set; } /// /// 输入分析对象类型,picture_url:图片地址,vod_url:视频地址,live_url:直播地址,picture: 图片二进制数据的BASE64编码 /// [JsonProperty("FileType")] public string FileType{ get; set; } /// /// 查询人员库列表,可填写学生们的注册照所在人员库 /// [JsonProperty("LibrarySet")] public string[] LibrarySet{ get; set; } /// /// 视频评估时间,单位秒,点播场景默认值为2小时(无法探测长度时)或完整视频,直播场景默认值为10分钟或直播提前结束 /// [JsonProperty("MaxVideoDuration")] public long? MaxVideoDuration{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "FileContent", this.FileContent); this.SetParamSimple(map, prefix + "FileType", this.FileType); this.SetParamArraySimple(map, prefix + "LibrarySet.", this.LibrarySet); this.SetParamSimple(map, prefix + "MaxVideoDuration", this.MaxVideoDuration); } } }