Class: TencentCloud::Iotexplorer::V20190423::TalkSTTConfigInfo

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

Overview

STT配置信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ConfigObject

## 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

#EnabledObject

## 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

#STTTypeObject

## 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