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.
4581 4582 4583 4584 4585 |
# File 'lib/v20180125/models.rb', line 4581 def initialize(rulelist=nil, totalcount=nil, requestid=nil) @RuleList = rulelist @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
4579 4580 4581 |
# File 'lib/v20180125/models.rb', line 4579 def RequestId @RequestId end |
#RuleList ⇒ Object
4579 4580 4581 |
# File 'lib/v20180125/models.rb', line 4579 def RuleList @RuleList end |
#TotalCount ⇒ Object
4579 4580 4581 |
# File 'lib/v20180125/models.rb', line 4579 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 |
# File 'lib/v20180125/models.rb', line 4587 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 |