Class: TencentCloud::Waf::V20180125::DescribeAntiInfoLeakRulesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::DescribeAntiInfoLeakRulesResponse
- Defined in:
- lib/v20180125/models.rb
Overview
DescribeAntiInfoLeakRules返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, rulelist = nil, requestid = nil) ⇒ DescribeAntiInfoLeakRulesResponse
constructor
A new instance of DescribeAntiInfoLeakRulesResponse.
Constructor Details
#initialize(totalcount = nil, rulelist = nil, requestid = nil) ⇒ DescribeAntiInfoLeakRulesResponse
Returns a new instance of DescribeAntiInfoLeakRulesResponse.
3543 3544 3545 3546 3547 |
# File 'lib/v20180125/models.rb', line 3543 def initialize(totalcount=nil, rulelist=nil, requestid=nil) @TotalCount = totalcount @RuleList = rulelist @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
3541 3542 3543 |
# File 'lib/v20180125/models.rb', line 3541 def RequestId @RequestId end |
#RuleList ⇒ Object
3541 3542 3543 |
# File 'lib/v20180125/models.rb', line 3541 def RuleList @RuleList end |
#TotalCount ⇒ Object
3541 3542 3543 |
# File 'lib/v20180125/models.rb', line 3541 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 |
# File 'lib/v20180125/models.rb', line 3549 def deserialize(params) @TotalCount = params['TotalCount'] unless params['RuleList'].nil? @RuleList = [] params['RuleList'].each do |i| describeantiinfoleakrulesruleitem_tmp = DescribeAntiInfoLeakRulesRuleItem.new describeantiinfoleakrulesruleitem_tmp.deserialize(i) @RuleList << describeantiinfoleakrulesruleitem_tmp end end @RequestId = params['RequestId'] end |