Class: TencentCloud::Cdn::V20180606::DescribeReportDataResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::DescribeReportDataResponse
- Defined in:
- lib/v20180606/models.rb
Overview
DescribeReportData返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(domainreport = nil, projectreport = nil, requestid = nil) ⇒ DescribeReportDataResponse
constructor
A new instance of DescribeReportDataResponse.
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
#DomainReport ⇒ Object
5461 5462 5463 |
# File 'lib/v20180606/models.rb', line 5461 def DomainReport @DomainReport end |
#ProjectReport ⇒ Object
5461 5462 5463 |
# File 'lib/v20180606/models.rb', line 5461 def ProjectReport @ProjectReport end |
#RequestId ⇒ Object
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 |