
com.tencentcloudapi.tci.v20190318.models.AIAssistantRequest Maven / Gradle / Ivy
/*
* Copyright (c) 2017-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.
*/
package com.tencentcloudapi.tci.v20190318.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class AIAssistantRequest extends AbstractModel{
/**
* 输入分析对象内容,输入数据格式参考FileType参数释义
*/
@SerializedName("FileContent")
@Expose
private String FileContent;
/**
* 输入分析对象类型,picture_url:图片地址,vod_url:视频地址,live_url:直播地址,audio_url: 音频文件,picture:图片二进制数据的BASE64编码
*/
@SerializedName("FileType")
@Expose
private String FileType;
/**
* 音频源的语言,默认0为英文,1为中文
*/
@SerializedName("Lang")
@Expose
private Long Lang;
/**
* 查询人员库列表
*/
@SerializedName("LibrarySet")
@Expose
private String [] LibrarySet;
/**
* 视频评估时间,单位秒,点播场景默认值为2小时(无法探测长度时)或完整视频,直播场景默认值为10分钟或直播提前结束
*/
@SerializedName("MaxVideoDuration")
@Expose
private Long MaxVideoDuration;
/**
* 标准化模板选择:0:AI助教基础版本,1:AI评教基础版本,2:AI评教标准版本。AI 助教基础版本功能包括:人脸检索、人脸检测、人脸表情识别、学生动作选项,音频信息分析,微笑识别。AI 评教基础版本功能包括:人脸检索、人脸检测、人脸表情识别、音频信息分析。AI 评教标准版功能包括人脸检索、人脸检测、人脸表情识别、手势识别、音频信息分析、音频关键词分析、视频精彩集锦分析。
*/
@SerializedName("Template")
@Expose
private Long Template;
/**
* 识别词库名列表,评估过程使用这些词汇库中的词汇进行词汇使用行为分析
*/
@SerializedName("VocabLibNameList")
@Expose
private String [] VocabLibNameList;
/**
* 语音编码类型 1:pcm
*/
@SerializedName("VoiceEncodeType")
@Expose
private Long VoiceEncodeType;
/**
* 语音文件类型 1:raw, 2:wav, 3:mp3,10:视频(三种音频格式目前仅支持16k采样率16bit)
*/
@SerializedName("VoiceFileType")
@Expose
private Long VoiceFileType;
/**
* Get 输入分析对象内容,输入数据格式参考FileType参数释义
* @return FileContent 输入分析对象内容,输入数据格式参考FileType参数释义
*/
public String getFileContent() {
return this.FileContent;
}
/**
* Set 输入分析对象内容,输入数据格式参考FileType参数释义
* @param FileContent 输入分析对象内容,输入数据格式参考FileType参数释义
*/
public void setFileContent(String FileContent) {
this.FileContent = FileContent;
}
/**
* Get 输入分析对象类型,picture_url:图片地址,vod_url:视频地址,live_url:直播地址,audio_url: 音频文件,picture:图片二进制数据的BASE64编码
* @return FileType 输入分析对象类型,picture_url:图片地址,vod_url:视频地址,live_url:直播地址,audio_url: 音频文件,picture:图片二进制数据的BASE64编码
*/
public String getFileType() {
return this.FileType;
}
/**
* Set 输入分析对象类型,picture_url:图片地址,vod_url:视频地址,live_url:直播地址,audio_url: 音频文件,picture:图片二进制数据的BASE64编码
* @param FileType 输入分析对象类型,picture_url:图片地址,vod_url:视频地址,live_url:直播地址,audio_url: 音频文件,picture:图片二进制数据的BASE64编码
*/
public void setFileType(String FileType) {
this.FileType = FileType;
}
/**
* Get 音频源的语言,默认0为英文,1为中文
* @return Lang 音频源的语言,默认0为英文,1为中文
*/
public Long getLang() {
return this.Lang;
}
/**
* Set 音频源的语言,默认0为英文,1为中文
* @param Lang 音频源的语言,默认0为英文,1为中文
*/
public void setLang(Long Lang) {
this.Lang = Lang;
}
/**
* Get 查询人员库列表
* @return LibrarySet 查询人员库列表
*/
public String [] getLibrarySet() {
return this.LibrarySet;
}
/**
* Set 查询人员库列表
* @param LibrarySet 查询人员库列表
*/
public void setLibrarySet(String [] LibrarySet) {
this.LibrarySet = LibrarySet;
}
/**
* Get 视频评估时间,单位秒,点播场景默认值为2小时(无法探测长度时)或完整视频,直播场景默认值为10分钟或直播提前结束
* @return MaxVideoDuration 视频评估时间,单位秒,点播场景默认值为2小时(无法探测长度时)或完整视频,直播场景默认值为10分钟或直播提前结束
*/
public Long getMaxVideoDuration() {
return this.MaxVideoDuration;
}
/**
* Set 视频评估时间,单位秒,点播场景默认值为2小时(无法探测长度时)或完整视频,直播场景默认值为10分钟或直播提前结束
* @param MaxVideoDuration 视频评估时间,单位秒,点播场景默认值为2小时(无法探测长度时)或完整视频,直播场景默认值为10分钟或直播提前结束
*/
public void setMaxVideoDuration(Long MaxVideoDuration) {
this.MaxVideoDuration = MaxVideoDuration;
}
/**
* Get 标准化模板选择:0:AI助教基础版本,1:AI评教基础版本,2:AI评教标准版本。AI 助教基础版本功能包括:人脸检索、人脸检测、人脸表情识别、学生动作选项,音频信息分析,微笑识别。AI 评教基础版本功能包括:人脸检索、人脸检测、人脸表情识别、音频信息分析。AI 评教标准版功能包括人脸检索、人脸检测、人脸表情识别、手势识别、音频信息分析、音频关键词分析、视频精彩集锦分析。
* @return Template 标准化模板选择:0:AI助教基础版本,1:AI评教基础版本,2:AI评教标准版本。AI 助教基础版本功能包括:人脸检索、人脸检测、人脸表情识别、学生动作选项,音频信息分析,微笑识别。AI 评教基础版本功能包括:人脸检索、人脸检测、人脸表情识别、音频信息分析。AI 评教标准版功能包括人脸检索、人脸检测、人脸表情识别、手势识别、音频信息分析、音频关键词分析、视频精彩集锦分析。
*/
public Long getTemplate() {
return this.Template;
}
/**
* Set 标准化模板选择:0:AI助教基础版本,1:AI评教基础版本,2:AI评教标准版本。AI 助教基础版本功能包括:人脸检索、人脸检测、人脸表情识别、学生动作选项,音频信息分析,微笑识别。AI 评教基础版本功能包括:人脸检索、人脸检测、人脸表情识别、音频信息分析。AI 评教标准版功能包括人脸检索、人脸检测、人脸表情识别、手势识别、音频信息分析、音频关键词分析、视频精彩集锦分析。
* @param Template 标准化模板选择:0:AI助教基础版本,1:AI评教基础版本,2:AI评教标准版本。AI 助教基础版本功能包括:人脸检索、人脸检测、人脸表情识别、学生动作选项,音频信息分析,微笑识别。AI 评教基础版本功能包括:人脸检索、人脸检测、人脸表情识别、音频信息分析。AI 评教标准版功能包括人脸检索、人脸检测、人脸表情识别、手势识别、音频信息分析、音频关键词分析、视频精彩集锦分析。
*/
public void setTemplate(Long Template) {
this.Template = Template;
}
/**
* Get 识别词库名列表,评估过程使用这些词汇库中的词汇进行词汇使用行为分析
* @return VocabLibNameList 识别词库名列表,评估过程使用这些词汇库中的词汇进行词汇使用行为分析
*/
public String [] getVocabLibNameList() {
return this.VocabLibNameList;
}
/**
* Set 识别词库名列表,评估过程使用这些词汇库中的词汇进行词汇使用行为分析
* @param VocabLibNameList 识别词库名列表,评估过程使用这些词汇库中的词汇进行词汇使用行为分析
*/
public void setVocabLibNameList(String [] VocabLibNameList) {
this.VocabLibNameList = VocabLibNameList;
}
/**
* Get 语音编码类型 1:pcm
* @return VoiceEncodeType 语音编码类型 1:pcm
*/
public Long getVoiceEncodeType() {
return this.VoiceEncodeType;
}
/**
* Set 语音编码类型 1:pcm
* @param VoiceEncodeType 语音编码类型 1:pcm
*/
public void setVoiceEncodeType(Long VoiceEncodeType) {
this.VoiceEncodeType = VoiceEncodeType;
}
/**
* Get 语音文件类型 1:raw, 2:wav, 3:mp3,10:视频(三种音频格式目前仅支持16k采样率16bit)
* @return VoiceFileType 语音文件类型 1:raw, 2:wav, 3:mp3,10:视频(三种音频格式目前仅支持16k采样率16bit)
*/
public Long getVoiceFileType() {
return this.VoiceFileType;
}
/**
* Set 语音文件类型 1:raw, 2:wav, 3:mp3,10:视频(三种音频格式目前仅支持16k采样率16bit)
* @param VoiceFileType 语音文件类型 1:raw, 2:wav, 3:mp3,10:视频(三种音频格式目前仅支持16k采样率16bit)
*/
public void setVoiceFileType(Long VoiceFileType) {
this.VoiceFileType = VoiceFileType;
}
public AIAssistantRequest() {
}
/**
* NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
* and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
*/
public AIAssistantRequest(AIAssistantRequest source) {
if (source.FileContent != null) {
this.FileContent = new String(source.FileContent);
}
if (source.FileType != null) {
this.FileType = new String(source.FileType);
}
if (source.Lang != null) {
this.Lang = new Long(source.Lang);
}
if (source.LibrarySet != null) {
this.LibrarySet = new String[source.LibrarySet.length];
for (int i = 0; i < source.LibrarySet.length; i++) {
this.LibrarySet[i] = new String(source.LibrarySet[i]);
}
}
if (source.MaxVideoDuration != null) {
this.MaxVideoDuration = new Long(source.MaxVideoDuration);
}
if (source.Template != null) {
this.Template = new Long(source.Template);
}
if (source.VocabLibNameList != null) {
this.VocabLibNameList = new String[source.VocabLibNameList.length];
for (int i = 0; i < source.VocabLibNameList.length; i++) {
this.VocabLibNameList[i] = new String(source.VocabLibNameList[i]);
}
}
if (source.VoiceEncodeType != null) {
this.VoiceEncodeType = new Long(source.VoiceEncodeType);
}
if (source.VoiceFileType != null) {
this.VoiceFileType = new Long(source.VoiceFileType);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap 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.setParamSimple(map, prefix + "Template", this.Template);
this.setParamArraySimple(map, prefix + "VocabLibNameList.", this.VocabLibNameList);
this.setParamSimple(map, prefix + "VoiceEncodeType", this.VoiceEncodeType);
this.setParamSimple(map, prefix + "VoiceFileType", this.VoiceFileType);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy