Class: TencentCloud::Waf::V20180125::DescribeDomainWhiteRulesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::DescribeDomainWhiteRulesResponse
- Defined in:
- lib/v20180125/models.rb
Overview
DescribeDomainWhiteRules返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(rulelist = nil, total = nil, requestid = nil) ⇒ DescribeDomainWhiteRulesResponse
constructor
A new instance of DescribeDomainWhiteRulesResponse.
Constructor Details
#initialize(rulelist = nil, total = nil, requestid = nil) ⇒ DescribeDomainWhiteRulesResponse
Returns a new instance of DescribeDomainWhiteRulesResponse.
5062 5063 5064 5065 5066 |
# File 'lib/v20180125/models.rb', line 5062 def initialize(rulelist=nil, total=nil, requestid=nil) @RuleList = rulelist @Total = total @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
5060 5061 5062 |
# File 'lib/v20180125/models.rb', line 5060 def RequestId @RequestId end |
#RuleList ⇒ Object
5060 5061 5062 |
# File 'lib/v20180125/models.rb', line 5060 def RuleList @RuleList end |
#Total ⇒ Object
5060 5061 5062 |
# File 'lib/v20180125/models.rb', line 5060 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 |
# File 'lib/v20180125/models.rb', line 5068 def deserialize(params) unless params['RuleList'].nil? @RuleList = [] params['RuleList'].each do |i| rulelist_tmp = RuleList.new rulelist_tmp.deserialize(i) @RuleList << rulelist_tmp end end @Total = params['Total'] @RequestId = params['RequestId'] end |