Class: TencentCloud::Cdn::V20180606::ResourceBillingData

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, billingdata = nil) ⇒ ResourceBillingData

Returns a new instance of ResourceBillingData.



11492
11493
11494
11495
# File 'lib/v20180606/models.rb', line 11492

def initialize(resource=nil, billingdata=nil)
  @Resource = resource
  @BillingData = billingdata
end

Instance Attribute Details

#BillingDataObject

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

Parameters:

  • Resource:

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

  • BillingData:

    计费数据详情



11490
11491
11492
# File 'lib/v20180606/models.rb', line 11490

def BillingData
  @BillingData
end

#ResourceObject

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

Parameters:

  • Resource:

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

  • BillingData:

    计费数据详情



11490
11491
11492
# File 'lib/v20180606/models.rb', line 11490

def Resource
  @Resource
end

Instance Method Details

#deserialize(params) ⇒ Object



11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
# File 'lib/v20180606/models.rb', line 11497

def deserialize(params)
  @Resource = params['Resource']
  unless params['BillingData'].nil?
    @BillingData = []
    params['BillingData'].each do |i|
      cdndata_tmp = CdnData.new
      cdndata_tmp.deserialize(i)
      @BillingData << cdndata_tmp
    end
  end
end