Class: TencentCloud::Ivld::V20210903::TTSMode
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ivld::V20210903::TTSMode
- Defined in:
- lib/v20210903/models.rb
Overview
TTS 的参数模式
Instance Attribute Summary collapse
-
#Speed ⇒ Object
Returns the value of attribute Speed.
-
#VoiceType ⇒ Object
Returns the value of attribute VoiceType.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(speed = nil, voicetype = nil) ⇒ TTSMode
constructor
A new instance of TTSMode.
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
#Speed ⇒ Object
Returns the value of attribute Speed.
2583 2584 2585 |
# File 'lib/v20210903/models.rb', line 2583 def Speed @Speed end |
#VoiceType ⇒ Object
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 |