Class: TencentCloud::Waf::V20180125::DescribeCustomRuleListRequest

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

Overview

DescribeCustomRuleList请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ByObject

Parameters:

  • Domain:

    域名

  • Offset:

    偏移

  • Limit:

    容量

  • Filters:

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

  • Order:

    asc或者desc

  • By:

    exp_ts或者mod_ts

  • DomainList:

    查询的域名列表,访问控制页面不用传



4540
4541
4542
# File 'lib/v20180125/models.rb', line 4540

def By
  @By
end

#DomainObject

Parameters:

  • Domain:

    域名

  • Offset:

    偏移

  • Limit:

    容量

  • Filters:

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

  • Order:

    asc或者desc

  • By:

    exp_ts或者mod_ts

  • DomainList:

    查询的域名列表,访问控制页面不用传



4540
4541
4542
# File 'lib/v20180125/models.rb', line 4540

def Domain
  @Domain
end

#DomainListObject

Parameters:

  • Domain:

    域名

  • Offset:

    偏移

  • Limit:

    容量

  • Filters:

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

  • Order:

    asc或者desc

  • By:

    exp_ts或者mod_ts

  • DomainList:

    查询的域名列表,访问控制页面不用传



4540
4541
4542
# File 'lib/v20180125/models.rb', line 4540

def DomainList
  @DomainList
end

#FiltersObject

Parameters:

  • Domain:

    域名

  • Offset:

    偏移

  • Limit:

    容量

  • Filters:

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

  • Order:

    asc或者desc

  • By:

    exp_ts或者mod_ts

  • DomainList:

    查询的域名列表,访问控制页面不用传



4540
4541
4542
# File 'lib/v20180125/models.rb', line 4540

def Filters
  @Filters
end

#LimitObject

Parameters:

  • Domain:

    域名

  • Offset:

    偏移

  • Limit:

    容量

  • Filters:

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

  • Order:

    asc或者desc

  • By:

    exp_ts或者mod_ts

  • DomainList:

    查询的域名列表,访问控制页面不用传



4540
4541
4542
# File 'lib/v20180125/models.rb', line 4540

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • Domain:

    域名

  • Offset:

    偏移

  • Limit:

    容量

  • Filters:

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

  • Order:

    asc或者desc

  • By:

    exp_ts或者mod_ts

  • DomainList:

    查询的域名列表,访问控制页面不用传



4540
4541
4542
# File 'lib/v20180125/models.rb', line 4540

def Offset
  @Offset
end

#OrderObject

Parameters:

  • Domain:

    域名

  • Offset:

    偏移

  • Limit:

    容量

  • Filters:

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

  • Order:

    asc或者desc

  • By:

    exp_ts或者mod_ts

  • DomainList:

    查询的域名列表,访问控制页面不用传



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