Class: TencentCloud::Waf::V20180125::DescribeCCRuleListRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::DescribeCCRuleListRequest
- Defined in:
- lib/v20180125/models.rb
Overview
DescribeCCRuleList请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(domain = nil, offset = nil, limit = nil, by = nil, filters = nil, order = nil) ⇒ DescribeCCRuleListRequest
constructor
A new instance of DescribeCCRuleListRequest.
Constructor Details
#initialize(domain = nil, offset = nil, limit = nil, by = nil, filters = nil, order = nil) ⇒ DescribeCCRuleListRequest
Returns a new instance of DescribeCCRuleListRequest.
4303 4304 4305 4306 4307 4308 4309 4310 |
# File 'lib/v20180125/models.rb', line 4303 def initialize(domain=nil, offset=nil, limit=nil, by=nil, filters=nil, order=nil) @Domain = domain @Offset = offset @Limit = limit @By = by @Filters = filters @Order = order end |
Instance Attribute Details
#By ⇒ Object
4301 4302 4303 |
# File 'lib/v20180125/models.rb', line 4301 def By @By end |
#Domain ⇒ Object
4301 4302 4303 |
# File 'lib/v20180125/models.rb', line 4301 def Domain @Domain end |
#Filters ⇒ Object
4301 4302 4303 |
# File 'lib/v20180125/models.rb', line 4301 def Filters @Filters end |
#Limit ⇒ Object
4301 4302 4303 |
# File 'lib/v20180125/models.rb', line 4301 def Limit @Limit end |
#Offset ⇒ Object
4301 4302 4303 |
# File 'lib/v20180125/models.rb', line 4301 def Offset @Offset end |
#Order ⇒ Object
4301 4302 4303 |
# File 'lib/v20180125/models.rb', line 4301 def Order @Order end |
Instance Method Details
#deserialize(params) ⇒ Object
4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 |
# File 'lib/v20180125/models.rb', line 4312 def deserialize(params) @Domain = params['Domain'] @Offset = params['Offset'] @Limit = params['Limit'] @By = params['By'] 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'] end |