Files
g.hnyhua.cn/TencentCloud/Tci/V20190318/Models/SubmitOneByOneClassTaskRequest.cs

93 lines
3.6 KiB
C#
Raw Normal View History

/*
* 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 SubmitOneByOneClassTaskRequest : AbstractModel
{
/// <summary>
/// 输入分析对象内容输入数据格式参考FileType参数释义
/// </summary>
[JsonProperty("FileContent")]
public string FileContent{ get; set; }
/// <summary>
/// 输入分析对象类型picture_url:图片地址vod_url:视频地址live_url直播地址picture: 图片二进制数据的BASE64编码
/// </summary>
[JsonProperty("FileType")]
public string FileType{ get; set; }
/// <summary>
/// 音频源的语言默认0为英文1为中文
/// </summary>
[JsonProperty("Lang")]
public long? Lang{ get; set; }
/// <summary>
/// 查询人员库列表,可填写学生的注册照所在人员库
/// </summary>
[JsonProperty("LibrarySet")]
public string[] LibrarySet{ get; set; }
/// <summary>
/// 视频评估时间单位秒点播场景默认值为2小时无法探测长度时或完整视频直播场景默认值为10分钟或直播提前结束
/// </summary>
[JsonProperty("MaxVideoDuration")]
public long? MaxVideoDuration{ get; set; }
/// <summary>
/// 识别词库名列表,这些词汇库用来维护关键词,评估学生对这些关键词的使用情况
/// </summary>
[JsonProperty("VocabLibNameList")]
public string[] VocabLibNameList{ get; set; }
/// <summary>
/// 语音编码类型 1:pcm当FileType为vod_url或live_url时为必填
/// </summary>
[JsonProperty("VoiceEncodeType")]
public long? VoiceEncodeType{ get; set; }
/// <summary>
/// 语音文件类型10:视频三种音频格式目前仅支持16k采样率16bit当FileType为vod_url或live_url时为必填
/// </summary>
[JsonProperty("VoiceFileType")]
public long? VoiceFileType{ 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 + "FileContent", this.FileContent);
this.SetParamSimple(map, prefix + "FileType", this.FileType);
this.SetParamSimple(map, prefix + "Lang", this.Lang);
this.SetParamArraySimple(map, prefix + "LibrarySet.", this.LibrarySet);
this.SetParamSimple(map, prefix + "MaxVideoDuration", this.MaxVideoDuration);
this.SetParamArraySimple(map, prefix + "VocabLibNameList.", this.VocabLibNameList);
this.SetParamSimple(map, prefix + "VoiceEncodeType", this.VoiceEncodeType);
this.SetParamSimple(map, prefix + "VoiceFileType", this.VoiceFileType);
}
}
}