Class: TencentCloud::Waf::V20180125::DescribeAntiFakeRulesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::DescribeAntiFakeRulesRequest
- Defined in:
- lib/v20180125/models.rb
Overview
DescribeAntiFakeRules请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(domain = nil, offset = nil, limit = nil, filters = nil, order = nil, by = nil) ⇒ DescribeAntiFakeRulesRequest
constructor
A new instance of DescribeAntiFakeRulesRequest.
Constructor Details
#initialize(domain = nil, offset = nil, limit = nil, filters = nil, order = nil, by = nil) ⇒ DescribeAntiFakeRulesRequest
Returns a new instance of DescribeAntiFakeRulesRequest.
3393 3394 3395 3396 3397 3398 3399 3400 |
# File 'lib/v20180125/models.rb', line 3393 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
3391 3392 3393 |
# File 'lib/v20180125/models.rb', line 3391 def By @By end |
#Domain ⇒ Object
3391 3392 3393 |
# File 'lib/v20180125/models.rb', line 3391 def Domain @Domain end |
#Filters ⇒ Object
3391 3392 3393 |
# File 'lib/v20180125/models.rb', line 3391 def Filters @Filters end |
#Limit ⇒ Object
3391 3392 3393 |
# File 'lib/v20180125/models.rb', line 3391 def Limit @Limit end |
#Offset ⇒ Object
3391 3392 3393 |
# File 'lib/v20180125/models.rb', line 3391 def Offset @Offset end |
#Order ⇒ Object
3391 3392 3393 |
# File 'lib/v20180125/models.rb', line 3391 def Order @Order end |
Instance Method Details
#deserialize(params) ⇒ Object
3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 |
# File 'lib/v20180125/models.rb', line 3402 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 |