Class: TencentCloud::Lke::V20231130::VoiceConfig

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

Overview

音色参数

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(voicetype = nil, timbrekey = nil, voicename = nil) ⇒ VoiceConfig

Returns a new instance of VoiceConfig.



12636
12637
12638
12639
12640
# File 'lib/v20231130/models.rb', line 12636

def initialize(voicetype=nil, timbrekey=nil, voicename=nil)
  @VoiceType = voicetype
  @TimbreKey = timbrekey
  @VoiceName = voicename
end

Instance Attribute Details

#TimbreKeyObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • VoiceType:

    公有云音色id

  • TimbreKey:

    音色key

  • VoiceName:

    音色名称



12634
12635
12636
# File 'lib/v20231130/models.rb', line 12634

def TimbreKey
  @TimbreKey
end

#VoiceNameObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • VoiceType:

    公有云音色id

  • TimbreKey:

    音色key

  • VoiceName:

    音色名称



12634
12635
12636
# File 'lib/v20231130/models.rb', line 12634

def VoiceName
  @VoiceName
end

#VoiceTypeObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • VoiceType:

    公有云音色id

  • TimbreKey:

    音色key

  • VoiceName:

    音色名称



12634
12635
12636
# File 'lib/v20231130/models.rb', line 12634

def VoiceType
  @VoiceType
end

Instance Method Details

#deserialize(params) ⇒ Object



12642
12643
12644
12645
12646
# File 'lib/v20231130/models.rb', line 12642

def deserialize(params)
  @VoiceType = params['VoiceType']
  @TimbreKey = params['TimbreKey']
  @VoiceName = params['VoiceName']
end