Class: TencentCloud::Iotexplorer::V20190423::TalkAIBotInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::TalkAIBotInfo
- Extended by:
- Gem::Deprecate
- Defined in:
- lib/v20190423/models.rb
Overview
Talk配置信息描述。
Instance Attribute Summary collapse
- #AgentConfig ⇒ Object
- #AppId ⇒ Object
- #BotId ⇒ Object
- #BoundProducts ⇒ Object
- #CreateTime ⇒ Object
- #Description ⇒ Object
- #InstanceId ⇒ Object
- #LLMConfig ⇒ Object
- #Name ⇒ Object
- #ProductList ⇒ Object
- #STTConfig ⇒ Object
- #TargetLanguage ⇒ Object
- #TTSConfig ⇒ Object
- #Uin ⇒ Object
- #UpdateTime ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(uin = nil, appid = nil, instanceid = nil, botid = nil, name = nil, description = nil, targetlanguage = nil, sttconfig = nil, llmconfig = nil, ttsconfig = nil, agentconfig = nil, productlist = nil, createtime = nil, updatetime = nil, boundproducts = nil) ⇒ TalkAIBotInfo
constructor
A new instance of TalkAIBotInfo.
Constructor Details
#initialize(uin = nil, appid = nil, instanceid = nil, botid = nil, name = nil, description = nil, targetlanguage = nil, sttconfig = nil, llmconfig = nil, ttsconfig = nil, agentconfig = nil, productlist = nil, createtime = nil, updatetime = nil, boundproducts = nil) ⇒ TalkAIBotInfo
Returns a new instance of TalkAIBotInfo.
13255 13256 13257 13258 13259 13260 13261 13262 13263 13264 13265 13266 13267 13268 13269 13270 13271 |
# File 'lib/v20190423/models.rb', line 13255 def initialize(uin=nil, appid=nil, instanceid=nil, botid=nil, name=nil, description=nil, targetlanguage=nil, sttconfig=nil, llmconfig=nil, ttsconfig=nil, agentconfig=nil, productlist=nil, createtime=nil, updatetime=nil, boundproducts=nil) @Uin = uin @AppId = appid @InstanceId = instanceid @BotId = botid @Name = name @Description = description @TargetLanguage = targetlanguage @STTConfig = sttconfig @LLMConfig = llmconfig @TTSConfig = ttsconfig @AgentConfig = agentconfig @ProductList = productlist @CreateTime = createtime @UpdateTime = updatetime @BoundProducts = boundproducts end |
Instance Attribute Details
#AgentConfig ⇒ Object
13250 13251 13252 |
# File 'lib/v20190423/models.rb', line 13250 def AgentConfig @AgentConfig end |
#AppId ⇒ Object
13250 13251 13252 |
# File 'lib/v20190423/models.rb', line 13250 def AppId @AppId end |
#BotId ⇒ Object
13250 13251 13252 |
# File 'lib/v20190423/models.rb', line 13250 def BotId @BotId end |
#BoundProducts ⇒ Object
13250 13251 13252 |
# File 'lib/v20190423/models.rb', line 13250 def BoundProducts @BoundProducts end |
#CreateTime ⇒ Object
13250 13251 13252 |
# File 'lib/v20190423/models.rb', line 13250 def CreateTime @CreateTime end |
#Description ⇒ Object
13250 13251 13252 |
# File 'lib/v20190423/models.rb', line 13250 def Description @Description end |
#InstanceId ⇒ Object
13250 13251 13252 |
# File 'lib/v20190423/models.rb', line 13250 def InstanceId @InstanceId end |
#LLMConfig ⇒ Object
13250 13251 13252 |
# File 'lib/v20190423/models.rb', line 13250 def LLMConfig @LLMConfig end |
#Name ⇒ Object
13250 13251 13252 |
# File 'lib/v20190423/models.rb', line 13250 def Name @Name end |
#ProductList ⇒ Object
13250 13251 13252 |
# File 'lib/v20190423/models.rb', line 13250 def ProductList @ProductList end |
#STTConfig ⇒ Object
13250 13251 13252 |
# File 'lib/v20190423/models.rb', line 13250 def STTConfig @STTConfig end |
#TargetLanguage ⇒ Object
13250 13251 13252 |
# File 'lib/v20190423/models.rb', line 13250 def TargetLanguage @TargetLanguage end |
#TTSConfig ⇒ Object
13250 13251 13252 |
# File 'lib/v20190423/models.rb', line 13250 def TTSConfig @TTSConfig end |
#Uin ⇒ Object
13250 13251 13252 |
# File 'lib/v20190423/models.rb', line 13250 def Uin @Uin end |
#UpdateTime ⇒ Object
13250 13251 13252 |
# File 'lib/v20190423/models.rb', line 13250 def UpdateTime @UpdateTime end |
Instance Method Details
#deserialize(params) ⇒ Object
13273 13274 13275 13276 13277 13278 13279 13280 13281 13282 13283 13284 13285 13286 13287 13288 13289 13290 13291 13292 13293 13294 13295 13296 13297 13298 13299 13300 13301 13302 13303 13304 13305 13306 13307 13308 13309 13310 13311 |
# File 'lib/v20190423/models.rb', line 13273 def deserialize(params) @Uin = params['Uin'] @AppId = params['AppId'] @InstanceId = params['InstanceId'] @BotId = params['BotId'] @Name = params['Name'] @Description = params['Description'] @TargetLanguage = params['TargetLanguage'] 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['AgentConfig'].nil? @AgentConfig = TalkAgentConfigInfo.new @AgentConfig.deserialize(params['AgentConfig']) end unless params['ProductList'].nil? @ProductList = TalkProductInfo.new @ProductList.deserialize(params['ProductList']) end @CreateTime = params['CreateTime'] @UpdateTime = params['UpdateTime'] unless params['BoundProducts'].nil? @BoundProducts = [] params['BoundProducts'].each do |i| talkproductinfo_tmp = TalkProductInfo.new talkproductinfo_tmp.deserialize(i) @BoundProducts << talkproductinfo_tmp end end end |