Class: TencentCloud::Tci::V20190318::SubmitConversationTaskRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tci::V20190318::SubmitConversationTaskRequest
- Defined in:
- lib/v20190318/models.rb
Overview
SubmitConversationTask请求参数结构体
Instance Attribute Summary collapse
- #Functions ⇒ Object
- #Lang ⇒ Object
- #StudentUrl ⇒ Object
- #TeacherUrl ⇒ Object
- #VocabLibNameList ⇒ Object
- #VoiceEncodeType ⇒ Object
- #VoiceFileType ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(lang = nil, studenturl = nil, teacherurl = nil, voiceencodetype = nil, voicefiletype = nil, functions = nil, vocablibnamelist = nil) ⇒ SubmitConversationTaskRequest
constructor
A new instance of SubmitConversationTaskRequest.
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
3365 3366 3367 |
# File 'lib/v20190318/models.rb', line 3365 def Functions @Functions end |
#Lang ⇒ Object
3365 3366 3367 |
# File 'lib/v20190318/models.rb', line 3365 def Lang @Lang end |
#StudentUrl ⇒ Object
3365 3366 3367 |
# File 'lib/v20190318/models.rb', line 3365 def StudentUrl @StudentUrl end |
#TeacherUrl ⇒ Object
3365 3366 3367 |
# File 'lib/v20190318/models.rb', line 3365 def TeacherUrl @TeacherUrl end |
#VocabLibNameList ⇒ Object
3365 3366 3367 |
# File 'lib/v20190318/models.rb', line 3365 def VocabLibNameList @VocabLibNameList end |
#VoiceEncodeType ⇒ Object
3365 3366 3367 |
# File 'lib/v20190318/models.rb', line 3365 def VoiceEncodeType @VoiceEncodeType end |
#VoiceFileType ⇒ Object
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 |