Class: TencentCloud::Vtc::V20240223::SubmitVideoTranslateJobRequest

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

Overview

SubmitVideoTranslateJob请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#AudioUrlObject

具体音色包含请见“支持音色种别列表”



261
262
263
# File 'lib/v20240223/models.rb', line 261

def AudioUrl
  @AudioUrl
end

#ConfirmObject

具体音色包含请见“支持音色种别列表”



261
262
263
# File 'lib/v20240223/models.rb', line 261

def Confirm
  @Confirm
end

#DstLangObject

具体音色包含请见“支持音色种别列表”



261
262
263
# File 'lib/v20240223/models.rb', line 261

def DstLang
  @DstLang
end

#LipSyncObject

具体音色包含请见“支持音色种别列表”



261
262
263
# File 'lib/v20240223/models.rb', line 261

def LipSync
  @LipSync
end

#RemoveVocalObject

具体音色包含请见“支持音色种别列表”



261
262
263
# File 'lib/v20240223/models.rb', line 261

def RemoveVocal
  @RemoveVocal
end

#SrcLangObject

具体音色包含请见“支持音色种别列表”



261
262
263
# File 'lib/v20240223/models.rb', line 261

def SrcLang
  @SrcLang
end

#VideoUrlObject

具体音色包含请见“支持音色种别列表”



261
262
263
# File 'lib/v20240223/models.rb', line 261

def VideoUrl
  @VideoUrl
end

#VoiceTypeObject

具体音色包含请见“支持音色种别列表”



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