Class: TencentCloud::Ivld::V20210903::TTSMode

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

Overview

TTS 的参数模式

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(speed = nil, voicetype = nil) ⇒ TTSMode

Returns a new instance of TTSMode.



2585
2586
2587
2588
# File 'lib/v20210903/models.rb', line 2585

def initialize(speed=nil, voicetype=nil)
  @Speed = speed
  @VoiceType = voicetype
end

Instance Attribute Details

#SpeedObject

Returns the value of attribute Speed.



2583
2584
2585
# File 'lib/v20210903/models.rb', line 2583

def Speed
  @Speed
end

#VoiceTypeObject

Returns the value of attribute VoiceType.



2583
2584
2585
# File 'lib/v20210903/models.rb', line 2583

def VoiceType
  @VoiceType
end

Instance Method Details

#deserialize(params) ⇒ Object



2590
2591
2592
2593
# File 'lib/v20210903/models.rb', line 2590

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