Class: TencentCloud::Waf::V20180125::DescribeDomainWhiteRulesRequest

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

Overview

DescribeDomainWhiteRules请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domain = nil, url = nil, page = nil, count = nil, sort = nil, ruleid = nil) ⇒ DescribeDomainWhiteRulesRequest

Returns a new instance of DescribeDomainWhiteRulesRequest.



5032
5033
5034
5035
5036
5037
5038
5039
# File 'lib/v20180125/models.rb', line 5032

def initialize(domain=nil, url=nil, page=nil, count=nil, sort=nil, ruleid=nil)
  @Domain = domain
  @Url = url
  @Page = page
  @Count = count
  @Sort = sort
  @RuleId = ruleid
end

Instance Attribute Details

#CountObject

Parameters:

  • Domain:

    需要查询的域名

  • Url:

    请求的白名单匹配路径

  • Page:

    翻到多少页

  • Count:

    每页展示的条数

  • Sort:

    排序方式,desc表示降序,asc表示升序

  • RuleId:

    规则ID



5030
5031
5032
# File 'lib/v20180125/models.rb', line 5030

def Count
  @Count
end

#DomainObject

Parameters:

  • Domain:

    需要查询的域名

  • Url:

    请求的白名单匹配路径

  • Page:

    翻到多少页

  • Count:

    每页展示的条数

  • Sort:

    排序方式,desc表示降序,asc表示升序

  • RuleId:

    规则ID



5030
5031
5032
# File 'lib/v20180125/models.rb', line 5030

def Domain
  @Domain
end

#PageObject

Parameters:

  • Domain:

    需要查询的域名

  • Url:

    请求的白名单匹配路径

  • Page:

    翻到多少页

  • Count:

    每页展示的条数

  • Sort:

    排序方式,desc表示降序,asc表示升序

  • RuleId:

    规则ID



5030
5031
5032
# File 'lib/v20180125/models.rb', line 5030

def Page
  @Page
end

#RuleIdObject

Parameters:

  • Domain:

    需要查询的域名

  • Url:

    请求的白名单匹配路径

  • Page:

    翻到多少页

  • Count:

    每页展示的条数

  • Sort:

    排序方式,desc表示降序,asc表示升序

  • RuleId:

    规则ID



5030
5031
5032
# File 'lib/v20180125/models.rb', line 5030

def RuleId
  @RuleId
end

#SortObject

Parameters:

  • Domain:

    需要查询的域名

  • Url:

    请求的白名单匹配路径

  • Page:

    翻到多少页

  • Count:

    每页展示的条数

  • Sort:

    排序方式,desc表示降序,asc表示升序

  • RuleId:

    规则ID



5030
5031
5032
# File 'lib/v20180125/models.rb', line 5030

def Sort
  @Sort
end

#UrlObject

Parameters:

  • Domain:

    需要查询的域名

  • Url:

    请求的白名单匹配路径

  • Page:

    翻到多少页

  • Count:

    每页展示的条数

  • Sort:

    排序方式,desc表示降序,asc表示升序

  • RuleId:

    规则ID



5030
5031
5032
# File 'lib/v20180125/models.rb', line 5030

def Url
  @Url
end

Instance Method Details

#deserialize(params) ⇒ Object



5041
5042
5043
5044
5045
5046
5047
5048
# File 'lib/v20180125/models.rb', line 5041

def deserialize(params)
  @Domain = params['Domain']
  @Url = params['Url']
  @Page = params['Page']
  @Count = params['Count']
  @Sort = params['Sort']
  @RuleId = params['RuleId']
end