Class: TencentCloud::Antiddos::V20200309::DescribeCCThresholdListResponse

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

Overview

DescribeCCThresholdList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(total = nil, thresholdlist = nil, requestid = nil) ⇒ DescribeCCThresholdListResponse

Returns a new instance of DescribeCCThresholdListResponse.



3854
3855
3856
3857
3858
# File 'lib/v20200309/models.rb', line 3854

def initialize(total=nil, thresholdlist=nil, requestid=nil)
  @Total = total
  @ThresholdList = thresholdlist
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • Total:

    清洗阈值策略列表总数

  • ThresholdList:

    清洗阈值策略列表详情

  • RequestId:

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



3852
3853
3854
# File 'lib/v20200309/models.rb', line 3852

def RequestId
  @RequestId
end

#ThresholdListObject

Parameters:

  • Total:

    清洗阈值策略列表总数

  • ThresholdList:

    清洗阈值策略列表详情

  • RequestId:

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



3852
3853
3854
# File 'lib/v20200309/models.rb', line 3852

def ThresholdList
  @ThresholdList
end

#TotalObject

Parameters:

  • Total:

    清洗阈值策略列表总数

  • ThresholdList:

    清洗阈值策略列表详情

  • RequestId:

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



3852
3853
3854
# File 'lib/v20200309/models.rb', line 3852

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
# File 'lib/v20200309/models.rb', line 3860

def deserialize(params)
  @Total = params['Total']
  unless params['ThresholdList'].nil?
    @ThresholdList = []
    params['ThresholdList'].each do |i|
      ccthresholdpolicy_tmp = CCThresholdPolicy.new
      ccthresholdpolicy_tmp.deserialize(i)
      @ThresholdList << ccthresholdpolicy_tmp
    end
  end
  @RequestId = params['RequestId']
end