Class: TencentCloud::Vrs::V20200824::VoiceTypeListData
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vrs::V20200824::VoiceTypeListData
- Defined in:
- lib/v20200824/models.rb
Overview
音色信息列表
Instance Attribute Summary collapse
-
#VoiceTypeList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(voicetypelist = nil) ⇒ VoiceTypeListData
constructor
A new instance of VoiceTypeListData.
Constructor Details
#initialize(voicetypelist = nil) ⇒ VoiceTypeListData
Returns a new instance of VoiceTypeListData.
704 705 706 |
# File 'lib/v20200824/models.rb', line 704 def initialize(voicetypelist=nil) @VoiceTypeList = voicetypelist end |
Instance Attribute Details
#VoiceTypeList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
702 703 704 |
# File 'lib/v20200824/models.rb', line 702 def VoiceTypeList @VoiceTypeList end |
Instance Method Details
#deserialize(params) ⇒ Object
708 709 710 711 712 713 714 715 716 717 |
# File 'lib/v20200824/models.rb', line 708 def deserialize(params) unless params['VoiceTypeList'].nil? @VoiceTypeList = [] params['VoiceTypeList'].each do |i| voicetypeinfo_tmp = VoiceTypeInfo.new voicetypeinfo_tmp.deserialize(i) @VoiceTypeList << voicetypeinfo_tmp end end end |