Class: TencentCloud::Cr::V20180321::QueryBotListResponse

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180321/models.rb

Overview

QueryBotList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#BotListObject

Parameters:

  • BotList:

    任务列表。

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



1403
1404
1405
# File 'lib/v20180321/models.rb', line 1403

def BotList
  @BotList
end

#RequestIdObject

Parameters:

  • BotList:

    任务列表。

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



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