Class: TencentCloud::Cr::V20180321::BotInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cr::V20180321::BotInfo
- Defined in:
- lib/v20180321/models.rb
Overview
机器人列表
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(botid = nil, botname = nil, botstatus = nil) ⇒ BotInfo
constructor
A new instance of BotInfo.
Constructor Details
#initialize(botid = nil, botname = nil, botstatus = nil) ⇒ BotInfo
Returns a new instance of BotInfo.
284 285 286 287 288 |
# File 'lib/v20180321/models.rb', line 284 def initialize(botid=nil, botname=nil, botstatus=nil) @BotId = botid @BotName = botname @BotStatus = botstatus end |
Instance Attribute Details
#BotId ⇒ Object
282 283 284 |
# File 'lib/v20180321/models.rb', line 282 def BotId @BotId end |
#BotName ⇒ Object
282 283 284 |
# File 'lib/v20180321/models.rb', line 282 def BotName @BotName end |
#BotStatus ⇒ Object
282 283 284 |
# File 'lib/v20180321/models.rb', line 282 def BotStatus @BotStatus end |
Instance Method Details
#deserialize(params) ⇒ Object
290 291 292 293 294 |
# File 'lib/v20180321/models.rb', line 290 def deserialize(params) @BotId = params['BotId'] @BotName = params['BotName'] @BotStatus = params['BotStatus'] end |