Class: TencentCloud::Cdn::V20180606::ListScdnTopBotDataResponse

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

Overview

ListScdnTopBotData返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ListScdnTopBotDataResponse.



8817
8818
8819
8820
# File 'lib/v20180606/models.rb', line 8817

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

Instance Attribute Details

#DataObject

Parameters:

  • Data:

    域名BOT次数列表

  • RequestId:

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



8815
8816
8817
# File 'lib/v20180606/models.rb', line 8815

def Data
  @Data
end

#RequestIdObject

Parameters:

  • Data:

    域名BOT次数列表

  • RequestId:

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



8815
8816
8817
# File 'lib/v20180606/models.rb', line 8815

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
# File 'lib/v20180606/models.rb', line 8822

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