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.



8762
8763
8764
8765
8766
8767
8768
8769
# File 'lib/v20180606/models.rb', line 8762

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:

    计费数值占总体百分比。



8760
8761
8762
# File 'lib/v20180606/models.rb', line 8760

def BillingPercentage
  @BillingPercentage
end

#BillingValueObject

Parameters:

  • ResourceId:

    项目ID/域名ID。

  • Resource:

    项目名称/域名。

  • Value:

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

  • Percentage:

    单个资源占总体百分比。

  • BillingValue:

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

  • BillingPercentage:

    计费数值占总体百分比。



8760
8761
8762
# File 'lib/v20180606/models.rb', line 8760

def BillingValue
  @BillingValue
end

#PercentageObject

Parameters:

  • ResourceId:

    项目ID/域名ID。

  • Resource:

    项目名称/域名。

  • Value:

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

  • Percentage:

    单个资源占总体百分比。

  • BillingValue:

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

  • BillingPercentage:

    计费数值占总体百分比。



8760
8761
8762
# File 'lib/v20180606/models.rb', line 8760

def Percentage
  @Percentage
end

#ResourceObject

Parameters:

  • ResourceId:

    项目ID/域名ID。

  • Resource:

    项目名称/域名。

  • Value:

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

  • Percentage:

    单个资源占总体百分比。

  • BillingValue:

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

  • BillingPercentage:

    计费数值占总体百分比。



8760
8761
8762
# File 'lib/v20180606/models.rb', line 8760

def Resource
  @Resource
end

#ResourceIdObject

Parameters:

  • ResourceId:

    项目ID/域名ID。

  • Resource:

    项目名称/域名。

  • Value:

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

  • Percentage:

    单个资源占总体百分比。

  • BillingValue:

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

  • BillingPercentage:

    计费数值占总体百分比。



8760
8761
8762
# File 'lib/v20180606/models.rb', line 8760

def ResourceId
  @ResourceId
end

#ValueObject

Parameters:

  • ResourceId:

    项目ID/域名ID。

  • Resource:

    项目名称/域名。

  • Value:

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

  • Percentage:

    单个资源占总体百分比。

  • BillingValue:

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

  • BillingPercentage:

    计费数值占总体百分比。



8760
8761
8762
# File 'lib/v20180606/models.rb', line 8760

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



8771
8772
8773
8774
8775
8776
8777
8778
# File 'lib/v20180606/models.rb', line 8771

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