Class: TencentCloud::Waf::V20180125::DescribeCustomRuleListRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::DescribeCustomRuleListRequest
- Defined in:
- lib/v20180125/models.rb
Overview
DescribeCustomRuleList请求参数结构体
Instance Attribute Summary collapse
- #By ⇒ Object
- #Domain ⇒ Object
- #DomainList ⇒ Object
- #Filters ⇒ Object
- #Limit ⇒ Object
- #Offset ⇒ Object
- #Order ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(domain = nil, offset = nil, limit = nil, filters = nil, order = nil, by = nil, domainlist = nil) ⇒ DescribeCustomRuleListRequest
constructor
A new instance of DescribeCustomRuleListRequest.
Constructor Details
#initialize(domain = nil, offset = nil, limit = nil, filters = nil, order = nil, by = nil, domainlist = nil) ⇒ DescribeCustomRuleListRequest
Returns a new instance of DescribeCustomRuleListRequest.
4542 4543 4544 4545 4546 4547 4548 4549 4550 |
# File 'lib/v20180125/models.rb', line 4542 def initialize(domain=nil, offset=nil, limit=nil, filters=nil, order=nil, by=nil, domainlist=nil) @Domain = domain @Offset = offset @Limit = limit @Filters = filters @Order = order @By = by @DomainList = domainlist end |
Instance Attribute Details
#By ⇒ Object
4540 4541 4542 |
# File 'lib/v20180125/models.rb', line 4540 def By @By end |
#Domain ⇒ Object
4540 4541 4542 |
# File 'lib/v20180125/models.rb', line 4540 def Domain @Domain end |
#DomainList ⇒ Object
4540 4541 4542 |
# File 'lib/v20180125/models.rb', line 4540 def DomainList @DomainList end |
#Filters ⇒ Object
4540 4541 4542 |
# File 'lib/v20180125/models.rb', line 4540 def Filters @Filters end |
#Limit ⇒ Object
4540 4541 4542 |
# File 'lib/v20180125/models.rb', line 4540 def Limit @Limit end |
#Offset ⇒ Object
4540 4541 4542 |
# File 'lib/v20180125/models.rb', line 4540 def Offset @Offset end |
#Order ⇒ Object
4540 4541 4542 |
# File 'lib/v20180125/models.rb', line 4540 def Order @Order end |
Instance Method Details
#deserialize(params) ⇒ Object
4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 |
# File 'lib/v20180125/models.rb', line 4552 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'] @DomainList = params['DomainList'] end |