Class: TencentCloud::Tci::V20190318::SubmitAudioTaskRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tci::V20190318::SubmitAudioTaskRequest
- Defined in:
- lib/v20190318/models.rb
Overview
SubmitAudioTask请求参数结构体
Instance Attribute Summary collapse
- #FileType ⇒ Object
- #Functions ⇒ Object
- #Lang ⇒ Object
- #MuteThreshold ⇒ Object
- #Url ⇒ Object
- #VocabLibNameList ⇒ Object
- #VoiceEncodeType ⇒ Object
- #VoiceFileType ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(lang = nil, url = nil, voiceencodetype = nil, voicefiletype = nil, functions = nil, filetype = nil, mutethreshold = nil, vocablibnamelist = nil) ⇒ SubmitAudioTaskRequest
constructor
A new instance of SubmitAudioTaskRequest.
Constructor Details
#initialize(lang = nil, url = nil, voiceencodetype = nil, voicefiletype = nil, functions = nil, filetype = nil, mutethreshold = nil, vocablibnamelist = nil) ⇒ SubmitAudioTaskRequest
Returns a new instance of SubmitAudioTaskRequest.
3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 |
# File 'lib/v20190318/models.rb', line 3154 def initialize(lang=nil, url=nil, voiceencodetype=nil, voicefiletype=nil, functions=nil, filetype=nil, mutethreshold=nil, vocablibnamelist=nil) @Lang = lang @Url = url @VoiceEncodeType = voiceencodetype @VoiceFileType = voicefiletype @Functions = functions @FileType = filetype @MuteThreshold = mutethreshold @VocabLibNameList = vocablibnamelist end |
Instance Attribute Details
#FileType ⇒ Object
3152 3153 3154 |
# File 'lib/v20190318/models.rb', line 3152 def FileType @FileType end |
#Functions ⇒ Object
3152 3153 3154 |
# File 'lib/v20190318/models.rb', line 3152 def Functions @Functions end |
#Lang ⇒ Object
3152 3153 3154 |
# File 'lib/v20190318/models.rb', line 3152 def Lang @Lang end |
#MuteThreshold ⇒ Object
3152 3153 3154 |
# File 'lib/v20190318/models.rb', line 3152 def MuteThreshold @MuteThreshold end |
#Url ⇒ Object
3152 3153 3154 |
# File 'lib/v20190318/models.rb', line 3152 def Url @Url end |
#VocabLibNameList ⇒ Object
3152 3153 3154 |
# File 'lib/v20190318/models.rb', line 3152 def VocabLibNameList @VocabLibNameList end |
#VoiceEncodeType ⇒ Object
3152 3153 3154 |
# File 'lib/v20190318/models.rb', line 3152 def VoiceEncodeType @VoiceEncodeType end |
#VoiceFileType ⇒ Object
3152 3153 3154 |
# File 'lib/v20190318/models.rb', line 3152 def VoiceFileType @VoiceFileType end |
Instance Method Details
#deserialize(params) ⇒ Object
3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 |
# File 'lib/v20190318/models.rb', line 3165 def deserialize(params) @Lang = params['Lang'] @Url = params['Url'] @VoiceEncodeType = params['VoiceEncodeType'] @VoiceFileType = params['VoiceFileType'] unless params['Functions'].nil? @Functions = Function.new @Functions.deserialize(params['Functions']) end @FileType = params['FileType'] @MuteThreshold = params['MuteThreshold'] @VocabLibNameList = params['VocabLibNameList'] end |