Class: TencentCloud::Waf::V20180125::DescribeCustomRuleListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::DescribeCustomRuleListResponse
- Defined in:
- lib/v20180125/models.rb
Overview
DescribeCustomRuleList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(rulelist = nil, totalcount = nil, requestid = nil) ⇒ DescribeCustomRuleListResponse
constructor
A new instance of DescribeCustomRuleListResponse.
Constructor Details
#initialize(rulelist = nil, totalcount = nil, requestid = nil) ⇒ DescribeCustomRuleListResponse
Returns a new instance of DescribeCustomRuleListResponse.
4010 4011 4012 4013 4014 |
# File 'lib/v20180125/models.rb', line 4010 def initialize(rulelist=nil, totalcount=nil, requestid=nil) @RuleList = rulelist @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
4008 4009 4010 |
# File 'lib/v20180125/models.rb', line 4008 def RequestId @RequestId end |
#RuleList ⇒ Object
4008 4009 4010 |
# File 'lib/v20180125/models.rb', line 4008 def RuleList @RuleList end |
#TotalCount ⇒ Object
4008 4009 4010 |
# File 'lib/v20180125/models.rb', line 4008 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 |
# File 'lib/v20180125/models.rb', line 4016 def deserialize(params) unless params['RuleList'].nil? @RuleList = [] params['RuleList'].each do |i| describecustomrulesrsprulelistitem_tmp = DescribeCustomRulesRspRuleListItem.new describecustomrulesrsprulelistitem_tmp.deserialize(i) @RuleList << describecustomrulesrsprulelistitem_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |