Class: TencentCloud::Iotexplorer::V20190423::TalkAIBotInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::TalkAIBotInfo
- Defined in:
- lib/v20190423/models.rb
Overview
Talk配置信息描述。
Instance Attribute Summary collapse
- #AgentConfig ⇒ Object
- #AppId ⇒ Object
- #BotId ⇒ 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) ⇒ 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) ⇒ TalkAIBotInfo
Returns a new instance of TalkAIBotInfo.
13234 13235 13236 13237 13238 13239 13240 13241 13242 13243 13244 13245 13246 13247 13248 13249 |
# File 'lib/v20190423/models.rb', line 13234 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) @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 end |
Instance Attribute Details
#AgentConfig ⇒ Object
13232 13233 13234 |
# File 'lib/v20190423/models.rb', line 13232 def AgentConfig @AgentConfig end |
#AppId ⇒ Object
13232 13233 13234 |
# File 'lib/v20190423/models.rb', line 13232 def AppId @AppId end |
#BotId ⇒ Object
13232 13233 13234 |
# File 'lib/v20190423/models.rb', line 13232 def BotId @BotId end |
#CreateTime ⇒ Object
13232 13233 13234 |
# File 'lib/v20190423/models.rb', line 13232 def CreateTime @CreateTime end |
#Description ⇒ Object
13232 13233 13234 |
# File 'lib/v20190423/models.rb', line 13232 def Description @Description end |
#InstanceId ⇒ Object
13232 13233 13234 |
# File 'lib/v20190423/models.rb', line 13232 def InstanceId @InstanceId end |
#LLMConfig ⇒ Object
13232 13233 13234 |
# File 'lib/v20190423/models.rb', line 13232 def LLMConfig @LLMConfig end |
#Name ⇒ Object
13232 13233 13234 |
# File 'lib/v20190423/models.rb', line 13232 def Name @Name end |
#ProductList ⇒ Object
13232 13233 13234 |
# File 'lib/v20190423/models.rb', line 13232 def ProductList @ProductList end |
#STTConfig ⇒ Object
13232 13233 13234 |
# File 'lib/v20190423/models.rb', line 13232 def STTConfig @STTConfig end |
#TargetLanguage ⇒ Object
13232 13233 13234 |
# File 'lib/v20190423/models.rb', line 13232 def TargetLanguage @TargetLanguage end |
#TTSConfig ⇒ Object
13232 13233 13234 |
# File 'lib/v20190423/models.rb', line 13232 def TTSConfig @TTSConfig end |
#Uin ⇒ Object
13232 13233 13234 |
# File 'lib/v20190423/models.rb', line 13232 def Uin @Uin end |
#UpdateTime ⇒ Object
13232 13233 13234 |
# File 'lib/v20190423/models.rb', line 13232 def UpdateTime @UpdateTime end |
Instance Method Details
#deserialize(params) ⇒ Object
13251 13252 13253 13254 13255 13256 13257 13258 13259 13260 13261 13262 13263 13264 13265 13266 13267 13268 13269 13270 13271 13272 13273 13274 13275 13276 13277 13278 13279 13280 13281 |
# File 'lib/v20190423/models.rb', line 13251 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'] end |