Class: TencentCloud::Antiddos::V20200309::DescribeCCThresholdListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Antiddos::V20200309::DescribeCCThresholdListResponse
- Defined in:
- lib/v20200309/models.rb
Overview
DescribeCCThresholdList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, thresholdlist = nil, requestid = nil) ⇒ DescribeCCThresholdListResponse
constructor
A new instance of DescribeCCThresholdListResponse.
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
#RequestId ⇒ Object
3852 3853 3854 |
# File 'lib/v20200309/models.rb', line 3852 def RequestId @RequestId end |
#ThresholdList ⇒ Object
3852 3853 3854 |
# File 'lib/v20200309/models.rb', line 3852 def ThresholdList @ThresholdList end |
#Total ⇒ Object
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 |