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.
13624 13625 13626 13627 13628 13629 13630 13631 13632 13633 13634 13635 13636 13637 13638 13639 |
# File 'lib/v20190423/models.rb', line 13624 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
13622 13623 13624 |
# File 'lib/v20190423/models.rb', line 13622 def AppId @AppId end |
#BasicConfig ⇒ Object
13622 13623 13624 |
# File 'lib/v20190423/models.rb', line 13622 def BasicConfig @BasicConfig end |
#ConfigName ⇒ Object
13622 13623 13624 |
# File 'lib/v20190423/models.rb', line 13622 def ConfigName @ConfigName end |
#ConversationConfig ⇒ Object
13622 13623 13624 |
# File 'lib/v20190423/models.rb', line 13622 def ConversationConfig @ConversationConfig end |
#CreateTime ⇒ Object
13622 13623 13624 |
# File 'lib/v20190423/models.rb', line 13622 def CreateTime @CreateTime end |
#DeviceName ⇒ Object
13622 13623 13624 |
# File 'lib/v20190423/models.rb', line 13622 def DeviceName @DeviceName end |
#LLMConfig ⇒ Object
13622 13623 13624 |
# File 'lib/v20190423/models.rb', line 13622 def LLMConfig @LLMConfig end |
#ProductId ⇒ Object
13622 13623 13624 |
# File 'lib/v20190423/models.rb', line 13622 def ProductId @ProductId end |
#STTConfig ⇒ Object
13622 13623 13624 |
# File 'lib/v20190423/models.rb', line 13622 def STTConfig @STTConfig end |
#TargetLanguage ⇒ Object
13622 13623 13624 |
# File 'lib/v20190423/models.rb', line 13622 def TargetLanguage @TargetLanguage end |
#TTSConfig ⇒ Object
13622 13623 13624 |
# File 'lib/v20190423/models.rb', line 13622 def TTSConfig @TTSConfig end |
#Uin ⇒ Object
13622 13623 13624 |
# File 'lib/v20190423/models.rb', line 13622 def Uin @Uin end |
#UpdateTime ⇒ Object
13622 13623 13624 |
# File 'lib/v20190423/models.rb', line 13622 def UpdateTime @UpdateTime end |
#Version ⇒ Object
13622 13623 13624 |
# File 'lib/v20190423/models.rb', line 13622 def Version @Version end |
Instance Method Details
#deserialize(params) ⇒ Object
13641 13642 13643 13644 13645 13646 13647 13648 13649 13650 13651 13652 13653 13654 13655 13656 13657 13658 13659 13660 13661 13662 13663 13664 13665 13666 13667 13668 13669 13670 13671 |
# File 'lib/v20190423/models.rb', line 13641 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 |