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":"http://www.deepgram.com", "ApiKey": "SecretKey****" }. -
#Enabled ⇒ Object
deepgram
{ "Model": "nova-2", "Language": "zh", "BaseUrl":"http://www.deepgram.com", "ApiKey": "SecretKey****" }. -
#STTType ⇒ Object
deepgram
{ "Model": "nova-2", "Language": "zh", "BaseUrl":"http://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.
13735 13736 13737 13738 13739 |
# File 'lib/v20190423/models.rb', line 13735 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****"
}
13733 13734 13735 |
# File 'lib/v20190423/models.rb', line 13733 def Config @Config end |
#Enabled ⇒ Object
deepgram
{
"Model": "nova-2",
"Language": "zh",
"BaseUrl":"http://www.deepgram.com",
"ApiKey": "SecretKey****"
}
13733 13734 13735 |
# File 'lib/v20190423/models.rb', line 13733 def Enabled @Enabled end |
#STTType ⇒ Object
deepgram
{
"Model": "nova-2",
"Language": "zh",
"BaseUrl":"http://www.deepgram.com",
"ApiKey": "SecretKey****"
}
13733 13734 13735 |
# File 'lib/v20190423/models.rb', line 13733 def STTType @STTType end |
Instance Method Details
#deserialize(params) ⇒ Object
13741 13742 13743 13744 13745 |
# File 'lib/v20190423/models.rb', line 13741 def deserialize(params) @STTType = params['STTType'] @Enabled = params['Enabled'] @Config = params['Config'] end |