Class: TencentCloud::Cdn::V20180606::DescribeReportDataResponse

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

Overview

DescribeReportData返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domainreport = nil, projectreport = nil, requestid = nil) ⇒ DescribeReportDataResponse

Returns a new instance of DescribeReportDataResponse.



5463
5464
5465
5466
5467
# File 'lib/v20180606/models.rb', line 5463

def initialize(domainreport=nil, projectreport=nil, requestid=nil)
  @DomainReport = domainreport
  @ProjectReport = projectreport
  @RequestId = requestid
end

Instance Attribute Details

#DomainReportObject

Parameters:

  • DomainReport:

    域名维度数据详情

  • ProjectReport:

    项目维度数据详情

  • RequestId:

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



5461
5462
5463
# File 'lib/v20180606/models.rb', line 5461

def DomainReport
  @DomainReport
end

#ProjectReportObject

Parameters:

  • DomainReport:

    域名维度数据详情

  • ProjectReport:

    项目维度数据详情

  • RequestId:

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



5461
5462
5463
# File 'lib/v20180606/models.rb', line 5461

def ProjectReport
  @ProjectReport
end

#RequestIdObject

Parameters:

  • DomainReport:

    域名维度数据详情

  • ProjectReport:

    项目维度数据详情

  • RequestId:

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



5461
5462
5463
# File 'lib/v20180606/models.rb', line 5461

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
# File 'lib/v20180606/models.rb', line 5469

def deserialize(params)
  unless params['DomainReport'].nil?
    @DomainReport = []
    params['DomainReport'].each do |i|
      reportdata_tmp = ReportData.new
      reportdata_tmp.deserialize(i)
      @DomainReport << reportdata_tmp
    end
  end
  unless params['ProjectReport'].nil?
    @ProjectReport = []
    params['ProjectReport'].each do |i|
      reportdata_tmp = ReportData.new
      reportdata_tmp.deserialize(i)
      @ProjectReport << reportdata_tmp
    end
  end
  @RequestId = params['RequestId']
end