Class: TencentCloud::Cdn::V20180606::ListTopBotDataResponse

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

Overview

ListTopBotData返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data = nil, requestid = nil) ⇒ ListTopBotDataResponse

Returns a new instance of ListTopBotDataResponse.



8883
8884
8885
8886
# File 'lib/v20180606/models.rb', line 8883

def initialize(data=nil, requestid=nil)
  @Data = data
  @RequestId = requestid
end

Instance Attribute Details

#DataObject

Parameters:

  • Data:

    域名BOT次数列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



8881
8882
8883
# File 'lib/v20180606/models.rb', line 8881

def Data
  @Data
end

#RequestIdObject

Parameters:

  • Data:

    域名BOT次数列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



8881
8882
8883
# File 'lib/v20180606/models.rb', line 8881

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
# File 'lib/v20180606/models.rb', line 8888

def deserialize(params)
  unless params['Data'].nil?
    @Data = []
    params['Data'].each do |i|
      domainbotcount_tmp = DomainBotCount.new
      domainbotcount_tmp.deserialize(i)
      @Data << domainbotcount_tmp
    end
  end
  @RequestId = params['RequestId']
end