Class: TencentCloud::Tci::V20190318::SubmitConversationTaskRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190318/models.rb

Overview

SubmitConversationTask请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(lang = nil, studenturl = nil, teacherurl = nil, voiceencodetype = nil, voicefiletype = nil, functions = nil, vocablibnamelist = nil) ⇒ SubmitConversationTaskRequest

Returns a new instance of SubmitConversationTaskRequest.



3367
3368
3369
3370
3371
3372
3373
3374
3375
# File 'lib/v20190318/models.rb', line 3367

def initialize(lang=nil, studenturl=nil, teacherurl=nil, voiceencodetype=nil, voicefiletype=nil, functions=nil, vocablibnamelist=nil)
  @Lang = lang
  @StudentUrl = studenturl
  @TeacherUrl = teacherurl
  @VoiceEncodeType = voiceencodetype
  @VoiceFileType = voicefiletype
  @Functions = functions
  @VocabLibNameList = vocablibnamelist
end

Instance Attribute Details

#Functions ⇒ Object

Parameters:

  • Lang: —

    音频源的语言,默认0为英文,1为中文

  • StudentUrl: —

    学生音频流

  • TeacherUrl: —

    教师音频流

  • VoiceEncodeType: —

    语音编码类型 1:pcm

  • VoiceFileType: —

    语音文件类型 1:raw, 2:wav, 3:mp3(三种格式目前仅支持16k采样率16bit)

  • Functions: —

    功能开关列表,表示是否需要打开相应的功能,返回相应的信息

  • VocabLibNameList: —

    识别词库名列表,评估过程使用这些词汇库中的词汇进行词汇使用行为分析



3365
3366
3367
# File 'lib/v20190318/models.rb', line 3365

def Functions
  @Functions
end

#Lang ⇒ Object

Parameters:

  • Lang: —

    音频源的语言,默认0为英文,1为中文

  • StudentUrl: —

    学生音频流

  • TeacherUrl: —

    教师音频流

  • VoiceEncodeType: —

    语音编码类型 1:pcm

  • VoiceFileType: —

    语音文件类型 1:raw, 2:wav, 3:mp3(三种格式目前仅支持16k采样率16bit)

  • Functions: —

    功能开关列表,表示是否需要打开相应的功能,返回相应的信息

  • VocabLibNameList: —

    识别词库名列表,评估过程使用这些词汇库中的词汇进行词汇使用行为分析



3365
3366
3367
# File 'lib/v20190318/models.rb', line 3365

def Lang
  @Lang
end

#StudentUrl ⇒ Object

Parameters:

  • Lang: —

    音频源的语言,默认0为英文,1为中文

  • StudentUrl: —

    学生音频流

  • TeacherUrl: —

    教师音频流

  • VoiceEncodeType: —

    语音编码类型 1:pcm

  • VoiceFileType: —

    语音文件类型 1:raw, 2:wav, 3:mp3(三种格式目前仅支持16k采样率16bit)

  • Functions: —

    功能开关列表,表示是否需要打开相应的功能,返回相应的信息

  • VocabLibNameList: —

    识别词库名列表,评估过程使用这些词汇库中的词汇进行词汇使用行为分析



3365
3366
3367
# File 'lib/v20190318/models.rb', line 3365

def StudentUrl
  @StudentUrl
end

#TeacherUrl ⇒ Object

Parameters:

  • Lang: —

    音频源的语言,默认0为英文,1为中文

  • StudentUrl: —

    学生音频流

  • TeacherUrl: —

    教师音频流

  • VoiceEncodeType: —

    语音编码类型 1:pcm

  • VoiceFileType: —

    语音文件类型 1:raw, 2:wav, 3:mp3(三种格式目前仅支持16k采样率16bit)

  • Functions: —

    功能开关列表,表示是否需要打开相应的功能,返回相应的信息

  • VocabLibNameList: —

    识别词库名列表,评估过程使用这些词汇库中的词汇进行词汇使用行为分析



3365
3366
3367
# File 'lib/v20190318/models.rb', line 3365

def TeacherUrl
  @TeacherUrl
end

#VocabLibNameList ⇒ Object

Parameters:

  • Lang: —

    音频源的语言,默认0为英文,1为中文

  • StudentUrl: —

    学生音频流

  • TeacherUrl: —

    教师音频流

  • VoiceEncodeType: —

    语音编码类型 1:pcm

  • VoiceFileType: —

    语音文件类型 1:raw, 2:wav, 3:mp3(三种格式目前仅支持16k采样率16bit)

  • Functions: —

    功能开关列表,表示是否需要打开相应的功能,返回相应的信息

  • VocabLibNameList: —

    识别词库名列表,评估过程使用这些词汇库中的词汇进行词汇使用行为分析



3365
3366
3367
# File 'lib/v20190318/models.rb', line 3365

def VocabLibNameList
  @VocabLibNameList
end

#VoiceEncodeType ⇒ Object

Parameters:

  • Lang: —

    音频源的语言,默认0为英文,1为中文

  • StudentUrl: —

    学生音频流

  • TeacherUrl: —

    教师音频流

  • VoiceEncodeType: —

    语音编码类型 1:pcm

  • VoiceFileType: —

    语音文件类型 1:raw, 2:wav, 3:mp3(三种格式目前仅支持16k采样率16bit)

  • Functions: —

    功能开关列表,表示是否需要打开相应的功能,返回相应的信息

  • VocabLibNameList: —

    识别词库名列表,评估过程使用这些词汇库中的词汇进行词汇使用行为分析



3365
3366
3367
# File 'lib/v20190318/models.rb', line 3365

def VoiceEncodeType
  @VoiceEncodeType
end

#VoiceFileType ⇒ Object

Parameters:

  • Lang: —

    音频源的语言,默认0为英文,1为中文

  • StudentUrl: —

    学生音频流

  • TeacherUrl: —

    教师音频流

  • VoiceEncodeType: —

    语音编码类型 1:pcm

  • VoiceFileType: —

    语音文件类型 1:raw, 2:wav, 3:mp3(三种格式目前仅支持16k采样率16bit)

  • Functions: —

    功能开关列表,表示是否需要打开相应的功能,返回相应的信息

  • VocabLibNameList: —

    识别词库名列表,评估过程使用这些词汇库中的词汇进行词汇使用行为分析



3365
3366
3367
# File 'lib/v20190318/models.rb', line 3365

def VoiceFileType
  @VoiceFileType
end

Instance Method Details

#deserialize(params) ⇒ Object



3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
# File 'lib/v20190318/models.rb', line 3377

def deserialize(params)
  @Lang = params['Lang']
  @StudentUrl = params['StudentUrl']
  @TeacherUrl = params['TeacherUrl']
  @VoiceEncodeType = params['VoiceEncodeType']
  @VoiceFileType = params['VoiceFileType']
  unless params['Functions'].nil?
    @Functions = Function.new
    @Functions.deserialize(params['Functions'])
  end
  @VocabLibNameList = params['VocabLibNameList']
end