Class: TencentCloud::Waf::V20180125::DescribeCustomWhiteRuleRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::DescribeCustomWhiteRuleRequest
- Defined in:
- lib/v20180125/models.rb
Overview
DescribeCustomWhiteRule请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(domain = nil, offset = nil, limit = nil, filters = nil, order = nil, by = nil) ⇒ DescribeCustomWhiteRuleRequest
constructor
A new instance of DescribeCustomWhiteRuleRequest.
Constructor Details
#initialize(domain = nil, offset = nil, limit = nil, filters = nil, order = nil, by = nil) ⇒ DescribeCustomWhiteRuleRequest
Returns a new instance of DescribeCustomWhiteRuleRequest.
4730 4731 4732 4733 4734 4735 4736 4737 |
# File 'lib/v20180125/models.rb', line 4730 def initialize(domain=nil, offset=nil, limit=nil, filters=nil, order=nil, by=nil) @Domain = domain @Offset = offset @Limit = limit @Filters = filters @Order = order @By = by end |
Instance Attribute Details
#By ⇒ Object
4728 4729 4730 |
# File 'lib/v20180125/models.rb', line 4728 def By @By end |
#Domain ⇒ Object
4728 4729 4730 |
# File 'lib/v20180125/models.rb', line 4728 def Domain @Domain end |
#Filters ⇒ Object
4728 4729 4730 |
# File 'lib/v20180125/models.rb', line 4728 def Filters @Filters end |
#Limit ⇒ Object
4728 4729 4730 |
# File 'lib/v20180125/models.rb', line 4728 def Limit @Limit end |
#Offset ⇒ Object
4728 4729 4730 |
# File 'lib/v20180125/models.rb', line 4728 def Offset @Offset end |
#Order ⇒ Object
4728 4729 4730 |
# File 'lib/v20180125/models.rb', line 4728 def Order @Order end |
Instance Method Details
#deserialize(params) ⇒ Object
4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 |
# File 'lib/v20180125/models.rb', line 4739 def deserialize(params) @Domain = params['Domain'] @Offset = params['Offset'] @Limit = params['Limit'] unless params['Filters'].nil? @Filters = [] params['Filters'].each do |i| filtersitemnew_tmp = FiltersItemNew.new filtersitemnew_tmp.deserialize(i) @Filters << filtersitemnew_tmp end end @Order = params['Order'] @By = params['By'] end |