Class: TencentCloud::Cr::V20180321::QueryBotListResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cr::V20180321::QueryBotListResponse
- Defined in:
- lib/v20180321/models.rb
Overview
QueryBotList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(botlist = nil, requestid = nil) ⇒ QueryBotListResponse
constructor
A new instance of QueryBotListResponse.
Constructor Details
#initialize(botlist = nil, requestid = nil) ⇒ QueryBotListResponse
Returns a new instance of QueryBotListResponse.
1405 1406 1407 1408 |
# File 'lib/v20180321/models.rb', line 1405 def initialize(botlist=nil, requestid=nil) @BotList = botlist @RequestId = requestid end |
Instance Attribute Details
#BotList ⇒ Object
1403 1404 1405 |
# File 'lib/v20180321/models.rb', line 1403 def BotList @BotList end |
#RequestId ⇒ Object
1403 1404 1405 |
# File 'lib/v20180321/models.rb', line 1403 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 |
# File 'lib/v20180321/models.rb', line 1410 def deserialize(params) unless params['BotList'].nil? @BotList = [] params['BotList'].each do |i| botinfo_tmp = BotInfo.new botinfo_tmp.deserialize(i) @BotList << botinfo_tmp end end @RequestId = params['RequestId'] end |