Class: TencentCloud::Cdn::V20180606::TopData

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

Overview

排序类型数据结构

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(resource = nil, detaildata = nil) ⇒ TopData

Returns a new instance of TopData.



13278
13279
13280
13281
# File 'lib/v20180606/models.rb', line 13278

def initialize(resource=nil, detaildata=nil)
  @Resource = resource
  @DetailData = detaildata
end

Instance Attribute Details

#DetailDataObject

具体域名:表示该域名明细数据 multiDomains:表示多域名汇总明细数据 项目 ID:指定项目查询时,显示为项目 ID all:账号维度明细数据

Parameters:

  • Resource:

    资源名称,根据查询条件不同分为以下几类:

  • DetailData:

    排序结果详情



13276
13277
13278
# File 'lib/v20180606/models.rb', line 13276

def DetailData
  @DetailData
end

#ResourceObject

具体域名:表示该域名明细数据 multiDomains:表示多域名汇总明细数据 项目 ID:指定项目查询时,显示为项目 ID all:账号维度明细数据

Parameters:

  • Resource:

    资源名称,根据查询条件不同分为以下几类:

  • DetailData:

    排序结果详情



13276
13277
13278
# File 'lib/v20180606/models.rb', line 13276

def Resource
  @Resource
end

Instance Method Details

#deserialize(params) ⇒ Object



13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
# File 'lib/v20180606/models.rb', line 13283

def deserialize(params)
  @Resource = params['Resource']
  unless params['DetailData'].nil?
    @DetailData = []
    params['DetailData'].each do |i|
      topdetaildata_tmp = TopDetailData.new
      topdetaildata_tmp.deserialize(i)
      @DetailData << topdetaildata_tmp
    end
  end
end