Class: TencentCloud::Vrs::V20200824::DownloadVRSModelRsp

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

Overview

离线声音复刻模型下载响应

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(model = nil, voicename = nil, voicegender = nil, voicelanguage = nil, taskid = nil) ⇒ DownloadVRSModelRsp



440
441
442
443
444
445
446
# File 'lib/v20200824/models.rb', line 440

def initialize(model=nil, voicename=nil, voicegender=nil, voicelanguage=nil, taskid=nil)
  @Model = model
  @VoiceName = voicename
  @VoiceGender = voicegender
  @VoiceLanguage = voicelanguage
  @TaskId = taskid
end

Instance Attribute Details

#ModelObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。1-male 2-female 注意:此字段可能返回 null,表示取不到有效值。1-中文注意:此字段可能返回 null,表示取不到有效值。



438
439
440
# File 'lib/v20200824/models.rb', line 438

def Model
  @Model
end

#TaskIdObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。1-male 2-female 注意:此字段可能返回 null,表示取不到有效值。1-中文注意:此字段可能返回 null,表示取不到有效值。



438
439
440
# File 'lib/v20200824/models.rb', line 438

def TaskId
  @TaskId
end

#VoiceGenderObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。1-male 2-female 注意:此字段可能返回 null,表示取不到有效值。1-中文注意:此字段可能返回 null,表示取不到有效值。



438
439
440
# File 'lib/v20200824/models.rb', line 438

def VoiceGender
  @VoiceGender
end

#VoiceLanguageObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。1-male 2-female 注意:此字段可能返回 null,表示取不到有效值。1-中文注意:此字段可能返回 null,表示取不到有效值。



438
439
440
# File 'lib/v20200824/models.rb', line 438

def VoiceLanguage
  @VoiceLanguage
end

#VoiceNameObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。1-male 2-female 注意:此字段可能返回 null,表示取不到有效值。1-中文注意:此字段可能返回 null,表示取不到有效值。



438
439
440
# File 'lib/v20200824/models.rb', line 438

def VoiceName
  @VoiceName
end

Instance Method Details

#deserialize(params) ⇒ Object



448
449
450
451
452
453
454
# File 'lib/v20200824/models.rb', line 448

def deserialize(params)
  @Model = params['Model']
  @VoiceName = params['VoiceName']
  @VoiceGender = params['VoiceGender']
  @VoiceLanguage = params['VoiceLanguage']
  @TaskId = params['TaskId']
end