Class: TencentCloud::Waf::V20180125::DescribeCustomWhiteRuleRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180125/models.rb

Overview

DescribeCustomWhiteRule请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ByObject

Parameters:

  • Domain:

    域名

  • Offset:

    偏移量

  • Limit:

    容量

  • Filters:

    过滤数组,name可以是如下的值: RuleID,RuleName,Match

  • Order:

    asc或者desc

  • By:

    exp_ts或者mod_ts



4728
4729
4730
# File 'lib/v20180125/models.rb', line 4728

def By
  @By
end

#DomainObject

Parameters:

  • Domain:

    域名

  • Offset:

    偏移量

  • Limit:

    容量

  • Filters:

    过滤数组,name可以是如下的值: RuleID,RuleName,Match

  • Order:

    asc或者desc

  • By:

    exp_ts或者mod_ts



4728
4729
4730
# File 'lib/v20180125/models.rb', line 4728

def Domain
  @Domain
end

#FiltersObject

Parameters:

  • Domain:

    域名

  • Offset:

    偏移量

  • Limit:

    容量

  • Filters:

    过滤数组,name可以是如下的值: RuleID,RuleName,Match

  • Order:

    asc或者desc

  • By:

    exp_ts或者mod_ts



4728
4729
4730
# File 'lib/v20180125/models.rb', line 4728

def Filters
  @Filters
end

#LimitObject

Parameters:

  • Domain:

    域名

  • Offset:

    偏移量

  • Limit:

    容量

  • Filters:

    过滤数组,name可以是如下的值: RuleID,RuleName,Match

  • Order:

    asc或者desc

  • By:

    exp_ts或者mod_ts



4728
4729
4730
# File 'lib/v20180125/models.rb', line 4728

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • Domain:

    域名

  • Offset:

    偏移量

  • Limit:

    容量

  • Filters:

    过滤数组,name可以是如下的值: RuleID,RuleName,Match

  • Order:

    asc或者desc

  • By:

    exp_ts或者mod_ts



4728
4729
4730
# File 'lib/v20180125/models.rb', line 4728

def Offset
  @Offset
end

#OrderObject

Parameters:

  • Domain:

    域名

  • Offset:

    偏移量

  • Limit:

    容量

  • Filters:

    过滤数组,name可以是如下的值: RuleID,RuleName,Match

  • Order:

    asc或者desc

  • By:

    exp_ts或者mod_ts



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