Class: TencentCloud::Vtc::V20240223::SubmitVideoTranslateJobRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vtc::V20240223::SubmitVideoTranslateJobRequest
- Defined in:
- lib/v20240223/models.rb
Overview
SubmitVideoTranslateJob请求参数结构体
Instance Attribute Summary collapse
-
#AudioUrl ⇒ Object
具体音色包含请见“支持音色种别列表”.
-
#Confirm ⇒ Object
具体音色包含请见“支持音色种别列表”.
-
#DstLang ⇒ Object
具体音色包含请见“支持音色种别列表”.
-
#LipSync ⇒ Object
具体音色包含请见“支持音色种别列表”.
-
#RemoveVocal ⇒ Object
具体音色包含请见“支持音色种别列表”.
-
#SrcLang ⇒ Object
具体音色包含请见“支持音色种别列表”.
-
#VideoUrl ⇒ Object
具体音色包含请见“支持音色种别列表”.
-
#VoiceType ⇒ Object
具体音色包含请见“支持音色种别列表”.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(videourl = nil, srclang = nil, dstlang = nil, audiourl = nil, removevocal = nil, confirm = nil, lipsync = nil, voicetype = nil) ⇒ SubmitVideoTranslateJobRequest
constructor
A new instance of SubmitVideoTranslateJobRequest.
Constructor Details
#initialize(videourl = nil, srclang = nil, dstlang = nil, audiourl = nil, removevocal = nil, confirm = nil, lipsync = nil, voicetype = nil) ⇒ SubmitVideoTranslateJobRequest
Returns a new instance of SubmitVideoTranslateJobRequest.
263 264 265 266 267 268 269 270 271 272 |
# File 'lib/v20240223/models.rb', line 263 def initialize(videourl=nil, srclang=nil, dstlang=nil, audiourl=nil, removevocal=nil, confirm=nil, lipsync=nil, voicetype=nil) @VideoUrl = videourl @SrcLang = srclang @DstLang = dstlang @AudioUrl = audiourl @RemoveVocal = removevocal @Confirm = confirm @LipSync = lipsync @VoiceType = voicetype end |
Instance Attribute Details
#AudioUrl ⇒ Object
具体音色包含请见“支持音色种别列表”
261 262 263 |
# File 'lib/v20240223/models.rb', line 261 def AudioUrl @AudioUrl end |
#Confirm ⇒ Object
具体音色包含请见“支持音色种别列表”
261 262 263 |
# File 'lib/v20240223/models.rb', line 261 def Confirm @Confirm end |
#DstLang ⇒ Object
具体音色包含请见“支持音色种别列表”
261 262 263 |
# File 'lib/v20240223/models.rb', line 261 def DstLang @DstLang end |
#LipSync ⇒ Object
具体音色包含请见“支持音色种别列表”
261 262 263 |
# File 'lib/v20240223/models.rb', line 261 def LipSync @LipSync end |
#RemoveVocal ⇒ Object
具体音色包含请见“支持音色种别列表”
261 262 263 |
# File 'lib/v20240223/models.rb', line 261 def RemoveVocal @RemoveVocal end |
#SrcLang ⇒ Object
具体音色包含请见“支持音色种别列表”
261 262 263 |
# File 'lib/v20240223/models.rb', line 261 def SrcLang @SrcLang end |
#VideoUrl ⇒ Object
具体音色包含请见“支持音色种别列表”
261 262 263 |
# File 'lib/v20240223/models.rb', line 261 def VideoUrl @VideoUrl end |
#VoiceType ⇒ Object
具体音色包含请见“支持音色种别列表”
261 262 263 |
# File 'lib/v20240223/models.rb', line 261 def VoiceType @VoiceType end |
Instance Method Details
#deserialize(params) ⇒ Object
274 275 276 277 278 279 280 281 282 283 |
# File 'lib/v20240223/models.rb', line 274 def deserialize(params) @VideoUrl = params['VideoUrl'] @SrcLang = params['SrcLang'] @DstLang = params['DstLang'] @AudioUrl = params['AudioUrl'] @RemoveVocal = params['RemoveVocal'] @Confirm = params['Confirm'] @LipSync = params['LipSync'] @VoiceType = params['VoiceType'] end |