Class: TencentCloud::Cdn::V20180606::ReportData

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

Overview

CDN报表数据

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(resourceid = nil, resource = nil, value = nil, percentage = nil, billingvalue = nil, billingpercentage = nil) ⇒ ReportData

Returns a new instance of ReportData.



11411
11412
11413
11414
11415
11416
11417
11418
# File 'lib/v20180606/models.rb', line 11411

def initialize(resourceid=nil, resource=nil, value=nil, percentage=nil, billingvalue=nil, billingpercentage=nil)
  @ResourceId = resourceid
  @Resource = resource
  @Value = value
  @Percentage = percentage
  @BillingValue = billingvalue
  @BillingPercentage = billingpercentage
end

Instance Attribute Details

#BillingPercentageObject

Parameters:

  • ResourceId:

    项目ID/域名ID。

  • Resource:

    项目名称/域名。

  • Value:

    流量总和/带宽最大值,单位分别为bytes,bps。

  • Percentage:

    单个资源占总体百分比。

  • BillingValue:

    计费流量总和/计费带宽最大值,单位分别为bytes,bps。

  • BillingPercentage:

    计费数值占总体百分比。



11409
11410
11411
# File 'lib/v20180606/models.rb', line 11409

def BillingPercentage
  @BillingPercentage
end

#BillingValueObject

Parameters:

  • ResourceId:

    项目ID/域名ID。

  • Resource:

    项目名称/域名。

  • Value:

    流量总和/带宽最大值,单位分别为bytes,bps。

  • Percentage:

    单个资源占总体百分比。

  • BillingValue:

    计费流量总和/计费带宽最大值,单位分别为bytes,bps。

  • BillingPercentage:

    计费数值占总体百分比。



11409
11410
11411
# File 'lib/v20180606/models.rb', line 11409

def BillingValue
  @BillingValue
end

#PercentageObject

Parameters:

  • ResourceId:

    项目ID/域名ID。

  • Resource:

    项目名称/域名。

  • Value:

    流量总和/带宽最大值,单位分别为bytes,bps。

  • Percentage:

    单个资源占总体百分比。

  • BillingValue:

    计费流量总和/计费带宽最大值,单位分别为bytes,bps。

  • BillingPercentage:

    计费数值占总体百分比。



11409
11410
11411
# File 'lib/v20180606/models.rb', line 11409

def Percentage
  @Percentage
end

#ResourceObject

Parameters:

  • ResourceId:

    项目ID/域名ID。

  • Resource:

    项目名称/域名。

  • Value:

    流量总和/带宽最大值,单位分别为bytes,bps。

  • Percentage:

    单个资源占总体百分比。

  • BillingValue:

    计费流量总和/计费带宽最大值,单位分别为bytes,bps。

  • BillingPercentage:

    计费数值占总体百分比。



11409
11410
11411
# File 'lib/v20180606/models.rb', line 11409

def Resource
  @Resource
end

#ResourceIdObject

Parameters:

  • ResourceId:

    项目ID/域名ID。

  • Resource:

    项目名称/域名。

  • Value:

    流量总和/带宽最大值,单位分别为bytes,bps。

  • Percentage:

    单个资源占总体百分比。

  • BillingValue:

    计费流量总和/计费带宽最大值,单位分别为bytes,bps。

  • BillingPercentage:

    计费数值占总体百分比。



11409
11410
11411
# File 'lib/v20180606/models.rb', line 11409

def ResourceId
  @ResourceId
end

#ValueObject

Parameters:

  • ResourceId:

    项目ID/域名ID。

  • Resource:

    项目名称/域名。

  • Value:

    流量总和/带宽最大值,单位分别为bytes,bps。

  • Percentage:

    单个资源占总体百分比。

  • BillingValue:

    计费流量总和/计费带宽最大值,单位分别为bytes,bps。

  • BillingPercentage:

    计费数值占总体百分比。



11409
11410
11411
# File 'lib/v20180606/models.rb', line 11409

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



11420
11421
11422
11423
11424
11425
11426
11427
# File 'lib/v20180606/models.rb', line 11420

def deserialize(params)
  @ResourceId = params['ResourceId']
  @Resource = params['Resource']
  @Value = params['Value']
  @Percentage = params['Percentage']
  @BillingValue = params['BillingValue']
  @BillingPercentage = params['BillingPercentage']
end