Class: TencentCloud::Iotexplorer::V20190423::TalkProductConfigV2Info
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::TalkProductConfigV2Info
- Defined in:
- lib/v20190423/models.rb
Overview
twetalk连接配置信息。
Instance Attribute Summary collapse
- #AppId ⇒ Object
- #BasicConfig ⇒ Object
- #ConfigName ⇒ Object
- #ConversationConfig ⇒ Object
- #CreateTime ⇒ Object
- #DeviceName ⇒ Object
- #LLMConfig ⇒ Object
- #ProductId ⇒ Object
- #STTConfig ⇒ Object
- #TargetLanguage ⇒ Object
- #TTSConfig ⇒ Object
- #Uin ⇒ Object
- #UpdateTime ⇒ Object
- #Version ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(uin = nil, appid = nil, productid = nil, devicename = nil, configname = nil, targetlanguage = nil, basicconfig = nil, sttconfig = nil, llmconfig = nil, ttsconfig = nil, conversationconfig = nil, version = nil, createtime = nil, updatetime = nil) ⇒ TalkProductConfigV2Info
constructor
A new instance of TalkProductConfigV2Info.
Constructor Details
#initialize(uin = nil, appid = nil, productid = nil, devicename = nil, configname = nil, targetlanguage = nil, basicconfig = nil, sttconfig = nil, llmconfig = nil, ttsconfig = nil, conversationconfig = nil, version = nil, createtime = nil, updatetime = nil) ⇒ TalkProductConfigV2Info
Returns a new instance of TalkProductConfigV2Info.
13594 13595 13596 13597 13598 13599 13600 13601 13602 13603 13604 13605 13606 13607 13608 13609 |
# File 'lib/v20190423/models.rb', line 13594 def initialize(uin=nil, appid=nil, productid=nil, devicename=nil, configname=nil, targetlanguage=nil, basicconfig=nil, sttconfig=nil, llmconfig=nil, ttsconfig=nil, conversationconfig=nil, version=nil, createtime=nil, updatetime=nil) @Uin = uin @AppId = appid @ProductId = productid @DeviceName = devicename @ConfigName = configname @TargetLanguage = targetlanguage @BasicConfig = basicconfig @STTConfig = sttconfig @LLMConfig = llmconfig @TTSConfig = ttsconfig @ConversationConfig = conversationconfig @Version = version @CreateTime = createtime @UpdateTime = updatetime end |
Instance Attribute Details
#AppId ⇒ Object
13592 13593 13594 |
# File 'lib/v20190423/models.rb', line 13592 def AppId @AppId end |
#BasicConfig ⇒ Object
13592 13593 13594 |
# File 'lib/v20190423/models.rb', line 13592 def BasicConfig @BasicConfig end |
#ConfigName ⇒ Object
13592 13593 13594 |
# File 'lib/v20190423/models.rb', line 13592 def ConfigName @ConfigName end |
#ConversationConfig ⇒ Object
13592 13593 13594 |
# File 'lib/v20190423/models.rb', line 13592 def ConversationConfig @ConversationConfig end |
#CreateTime ⇒ Object
13592 13593 13594 |
# File 'lib/v20190423/models.rb', line 13592 def CreateTime @CreateTime end |
#DeviceName ⇒ Object
13592 13593 13594 |
# File 'lib/v20190423/models.rb', line 13592 def DeviceName @DeviceName end |
#LLMConfig ⇒ Object
13592 13593 13594 |
# File 'lib/v20190423/models.rb', line 13592 def LLMConfig @LLMConfig end |
#ProductId ⇒ Object
13592 13593 13594 |
# File 'lib/v20190423/models.rb', line 13592 def ProductId @ProductId end |
#STTConfig ⇒ Object
13592 13593 13594 |
# File 'lib/v20190423/models.rb', line 13592 def STTConfig @STTConfig end |
#TargetLanguage ⇒ Object
13592 13593 13594 |
# File 'lib/v20190423/models.rb', line 13592 def TargetLanguage @TargetLanguage end |
#TTSConfig ⇒ Object
13592 13593 13594 |
# File 'lib/v20190423/models.rb', line 13592 def TTSConfig @TTSConfig end |
#Uin ⇒ Object
13592 13593 13594 |
# File 'lib/v20190423/models.rb', line 13592 def Uin @Uin end |
#UpdateTime ⇒ Object
13592 13593 13594 |
# File 'lib/v20190423/models.rb', line 13592 def UpdateTime @UpdateTime end |
#Version ⇒ Object
13592 13593 13594 |
# File 'lib/v20190423/models.rb', line 13592 def Version @Version end |
Instance Method Details
#deserialize(params) ⇒ Object
13611 13612 13613 13614 13615 13616 13617 13618 13619 13620 13621 13622 13623 13624 13625 13626 13627 13628 13629 13630 13631 13632 13633 13634 13635 13636 13637 13638 13639 13640 13641 |
# File 'lib/v20190423/models.rb', line 13611 def deserialize(params) @Uin = params['Uin'] @AppId = params['AppId'] @ProductId = params['ProductId'] @DeviceName = params['DeviceName'] @ConfigName = params['ConfigName'] @TargetLanguage = params['TargetLanguage'] unless params['BasicConfig'].nil? @BasicConfig = TalkBasicConfigInfo.new @BasicConfig.deserialize(params['BasicConfig']) end unless params['STTConfig'].nil? @STTConfig = TalkSTTConfigInfo.new @STTConfig.deserialize(params['STTConfig']) end unless params['LLMConfig'].nil? @LLMConfig = TalkLLMConfigInfo.new @LLMConfig.deserialize(params['LLMConfig']) end unless params['TTSConfig'].nil? @TTSConfig = TalkTTSConfigInfo.new @TTSConfig.deserialize(params['TTSConfig']) end unless params['ConversationConfig'].nil? @ConversationConfig = TalkConversationConfigInfo.new @ConversationConfig.deserialize(params['ConversationConfig']) end @Version = params['Version'] @CreateTime = params['CreateTime'] @UpdateTime = params['UpdateTime'] end |