Class: TencentCloud::Iotexplorer::V20190423::TalkSTTConfigInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::TalkSTTConfigInfo
- Defined in:
- lib/v20190423/models.rb
Overview
STT配置信息。
Instance Attribute Summary collapse
-
#Config ⇒ Object
## deepgram “‘ { “Model”: “nova-2”, “Language”: “zh”, “BaseUrl”:“www.deepgram.com”, “ApiKey”: “SecretKey****” } “`.
-
#Enabled ⇒ Object
## deepgram “‘ { “Model”: “nova-2”, “Language”: “zh”, “BaseUrl”:“www.deepgram.com”, “ApiKey”: “SecretKey****” } “`.
-
#STTType ⇒ Object
## deepgram “‘ { “Model”: “nova-2”, “Language”: “zh”, “BaseUrl”:“www.deepgram.com”, “ApiKey”: “SecretKey****” } “`.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(stttype = nil, enabled = nil, config = nil) ⇒ TalkSTTConfigInfo
constructor
A new instance of TalkSTTConfigInfo.
Constructor Details
#initialize(stttype = nil, enabled = nil, config = nil) ⇒ TalkSTTConfigInfo
Returns a new instance of TalkSTTConfigInfo.
13705 13706 13707 13708 13709 |
# File 'lib/v20190423/models.rb', line 13705 def initialize(stttype=nil, enabled=nil, config=nil) @STTType = stttype @Enabled = enabled @Config = config end |
Instance Attribute Details
#Config ⇒ Object
## deepgram “‘
"Model": "nova-2",
"Language": "zh",
"BaseUrl":"http://www.deepgram.com",
"ApiKey": "SecretKey****"
“‘
13703 13704 13705 |
# File 'lib/v20190423/models.rb', line 13703 def Config @Config end |
#Enabled ⇒ Object
## deepgram “‘
"Model": "nova-2",
"Language": "zh",
"BaseUrl":"http://www.deepgram.com",
"ApiKey": "SecretKey****"
“‘
13703 13704 13705 |
# File 'lib/v20190423/models.rb', line 13703 def Enabled @Enabled end |
#STTType ⇒ Object
## deepgram “‘
"Model": "nova-2",
"Language": "zh",
"BaseUrl":"http://www.deepgram.com",
"ApiKey": "SecretKey****"
“‘
13703 13704 13705 |
# File 'lib/v20190423/models.rb', line 13703 def STTType @STTType end |
Instance Method Details
#deserialize(params) ⇒ Object
13711 13712 13713 13714 13715 |
# File 'lib/v20190423/models.rb', line 13711 def deserialize(params) @STTType = params['STTType'] @Enabled = params['Enabled'] @Config = params['Config'] end |