Class: TencentCloud::Waf::V20180125::DescribePeakPointsResponse

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

Overview

DescribePeakPoints返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(points = nil, requestid = nil) ⇒ DescribePeakPointsResponse

Returns a new instance of DescribePeakPointsResponse.



5939
5940
5941
5942
# File 'lib/v20180125/models.rb', line 5939

def initialize(points=nil, requestid=nil)
  @Points = points
  @RequestId = requestid
end

Instance Attribute Details

#PointsObject

Parameters:

  • Points:

    数据点

  • RequestId:

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



5937
5938
5939
# File 'lib/v20180125/models.rb', line 5937

def Points
  @Points
end

#RequestIdObject

Parameters:

  • Points:

    数据点

  • RequestId:

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



5937
5938
5939
# File 'lib/v20180125/models.rb', line 5937

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
# File 'lib/v20180125/models.rb', line 5944

def deserialize(params)
  unless params['Points'].nil?
    @Points = []
    params['Points'].each do |i|
      peakpointsitem_tmp = PeakPointsItem.new
      peakpointsitem_tmp.deserialize(i)
      @Points << peakpointsitem_tmp
    end
  end
  @RequestId = params['RequestId']
end