Class: TencentCloud::Cdn::V20180606::DescribeEventLogDataResponse

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

Overview

DescribeEventLogData返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(results = nil, requestid = nil) ⇒ DescribeEventLogDataResponse

Returns a new instance of DescribeEventLogDataResponse.



4593
4594
4595
4596
# File 'lib/v20180606/models.rb', line 4593

def initialize(results=nil, requestid=nil)
  @Results = results
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • Results:

    统计曲线结果

  • RequestId:

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



4591
4592
4593
# File 'lib/v20180606/models.rb', line 4591

def RequestId
  @RequestId
end

#ResultsObject

Parameters:

  • Results:

    统计曲线结果

  • RequestId:

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



4591
4592
4593
# File 'lib/v20180606/models.rb', line 4591

def Results
  @Results
end

Instance Method Details

#deserialize(params) ⇒ Object



4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
# File 'lib/v20180606/models.rb', line 4598

def deserialize(params)
  unless params['Results'].nil?
    @Results = []
    params['Results'].each do |i|
      eventlogstatsdata_tmp = EventLogStatsData.new
      eventlogstatsdata_tmp.deserialize(i)
      @Results << eventlogstatsdata_tmp
    end
  end
  @RequestId = params['RequestId']
end