Class: TencentCloud::Tts::V20190823::CreateTtsTaskRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tts::V20190823::CreateTtsTaskRequest
- Defined in:
- lib/v20190823/models.rb
Overview
CreateTtsTask请求参数结构体
Instance Attribute Summary collapse
- #CallbackUrl ⇒ Object
- #Codec ⇒ Object
- #EmotionCategory ⇒ Object
- #EmotionIntensity ⇒ Object
- #EnableSubtitle ⇒ Object
- #ModelType ⇒ Object
- #PrimaryLanguage ⇒ Object
- #ProjectId ⇒ Object
- #SampleRate ⇒ Object
- #Speed ⇒ Object
- #Text ⇒ Object
- #VoiceoverDialogueSplit ⇒ Object
- #VoiceType ⇒ Object
- #Volume ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(text = nil, volume = nil, speed = nil, projectid = nil, modeltype = nil, voicetype = nil, primarylanguage = nil, samplerate = nil, codec = nil, callbackurl = nil, enablesubtitle = nil, voiceoverdialoguesplit = nil, emotioncategory = nil, emotionintensity = nil) ⇒ CreateTtsTaskRequest
constructor
A new instance of CreateTtsTaskRequest.
Constructor Details
#initialize(text = nil, volume = nil, speed = nil, projectid = nil, modeltype = nil, voicetype = nil, primarylanguage = nil, samplerate = nil, codec = nil, callbackurl = nil, enablesubtitle = nil, voiceoverdialoguesplit = nil, emotioncategory = nil, emotionintensity = nil) ⇒ CreateTtsTaskRequest
Returns a new instance of CreateTtsTaskRequest.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 |
# File 'lib/v20190823/models.rb', line 53 def initialize(text=nil, volume=nil, speed=nil, projectid=nil, modeltype=nil, voicetype=nil, primarylanguage=nil, samplerate=nil, codec=nil, callbackurl=nil, enablesubtitle=nil, voiceoverdialoguesplit=nil, emotioncategory=nil, emotionintensity=nil) @Text = text @Volume = volume @Speed = speed @ProjectId = projectid @ModelType = modeltype @VoiceType = voicetype @PrimaryLanguage = primarylanguage @SampleRate = samplerate @Codec = codec @CallbackUrl = callbackurl @EnableSubtitle = enablesubtitle @VoiceoverDialogueSplit = voiceoverdialoguesplit @EmotionCategory = emotioncategory @EmotionIntensity = emotionintensity end |
Instance Attribute Details
#CallbackUrl ⇒ Object
51 52 53 |
# File 'lib/v20190823/models.rb', line 51 def CallbackUrl @CallbackUrl end |
#Codec ⇒ Object
51 52 53 |
# File 'lib/v20190823/models.rb', line 51 def Codec @Codec end |
#EmotionCategory ⇒ Object
51 52 53 |
# File 'lib/v20190823/models.rb', line 51 def EmotionCategory @EmotionCategory end |
#EmotionIntensity ⇒ Object
51 52 53 |
# File 'lib/v20190823/models.rb', line 51 def EmotionIntensity @EmotionIntensity end |
#EnableSubtitle ⇒ Object
51 52 53 |
# File 'lib/v20190823/models.rb', line 51 def EnableSubtitle @EnableSubtitle end |
#ModelType ⇒ Object
51 52 53 |
# File 'lib/v20190823/models.rb', line 51 def ModelType @ModelType end |
#PrimaryLanguage ⇒ Object
51 52 53 |
# File 'lib/v20190823/models.rb', line 51 def PrimaryLanguage @PrimaryLanguage end |
#ProjectId ⇒ Object
51 52 53 |
# File 'lib/v20190823/models.rb', line 51 def ProjectId @ProjectId end |
#SampleRate ⇒ Object
51 52 53 |
# File 'lib/v20190823/models.rb', line 51 def SampleRate @SampleRate end |
#Speed ⇒ Object
51 52 53 |
# File 'lib/v20190823/models.rb', line 51 def Speed @Speed end |
#Text ⇒ Object
51 52 53 |
# File 'lib/v20190823/models.rb', line 51 def Text @Text end |
#VoiceoverDialogueSplit ⇒ Object
51 52 53 |
# File 'lib/v20190823/models.rb', line 51 def VoiceoverDialogueSplit @VoiceoverDialogueSplit end |
#VoiceType ⇒ Object
51 52 53 |
# File 'lib/v20190823/models.rb', line 51 def VoiceType @VoiceType end |
#Volume ⇒ Object
51 52 53 |
# File 'lib/v20190823/models.rb', line 51 def Volume @Volume end |
Instance Method Details
#deserialize(params) ⇒ Object
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
# File 'lib/v20190823/models.rb', line 70 def deserialize(params) @Text = params['Text'] @Volume = params['Volume'] @Speed = params['Speed'] @ProjectId = params['ProjectId'] @ModelType = params['ModelType'] @VoiceType = params['VoiceType'] @PrimaryLanguage = params['PrimaryLanguage'] @SampleRate = params['SampleRate'] @Codec = params['Codec'] @CallbackUrl = params['CallbackUrl'] @EnableSubtitle = params['EnableSubtitle'] @VoiceoverDialogueSplit = params['VoiceoverDialogueSplit'] @EmotionCategory = params['EmotionCategory'] @EmotionIntensity = params['EmotionIntensity'] end |