Class: TencentCloud::Waf::V20180125::DescribeAntiFakeRulesRequest

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

Overview

DescribeAntiFakeRules请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ByObject

Parameters:

  • Domain:

    域名

  • Offset:

    偏移

  • Limit:

    容量

  • Filters:

    过滤数组,name可以是如下的值: RuleID,ParamName,Url,Action,Method,Source,Status

  • Order:

    asc或者desc

  • By:

    目前支持根据ts排序



3391
3392
3393
# File 'lib/v20180125/models.rb', line 3391

def By
  @By
end

#DomainObject

Parameters:

  • Domain:

    域名

  • Offset:

    偏移

  • Limit:

    容量

  • Filters:

    过滤数组,name可以是如下的值: RuleID,ParamName,Url,Action,Method,Source,Status

  • Order:

    asc或者desc

  • By:

    目前支持根据ts排序



3391
3392
3393
# File 'lib/v20180125/models.rb', line 3391

def Domain
  @Domain
end

#FiltersObject

Parameters:

  • Domain:

    域名

  • Offset:

    偏移

  • Limit:

    容量

  • Filters:

    过滤数组,name可以是如下的值: RuleID,ParamName,Url,Action,Method,Source,Status

  • Order:

    asc或者desc

  • By:

    目前支持根据ts排序



3391
3392
3393
# File 'lib/v20180125/models.rb', line 3391

def Filters
  @Filters
end

#LimitObject

Parameters:

  • Domain:

    域名

  • Offset:

    偏移

  • Limit:

    容量

  • Filters:

    过滤数组,name可以是如下的值: RuleID,ParamName,Url,Action,Method,Source,Status

  • Order:

    asc或者desc

  • By:

    目前支持根据ts排序



3391
3392
3393
# File 'lib/v20180125/models.rb', line 3391

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • Domain:

    域名

  • Offset:

    偏移

  • Limit:

    容量

  • Filters:

    过滤数组,name可以是如下的值: RuleID,ParamName,Url,Action,Method,Source,Status

  • Order:

    asc或者desc

  • By:

    目前支持根据ts排序



3391
3392
3393
# File 'lib/v20180125/models.rb', line 3391

def Offset
  @Offset
end

#OrderObject

Parameters:

  • Domain:

    域名

  • Offset:

    偏移

  • Limit:

    容量

  • Filters:

    过滤数组,name可以是如下的值: RuleID,ParamName,Url,Action,Method,Source,Status

  • Order:

    asc或者desc

  • By:

    目前支持根据ts排序



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