Class: TencentCloud::Waf::V20180125::DescribeCCRuleListRequest

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

Overview

DescribeCCRuleList请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domain = nil, offset = nil, limit = nil, by = nil, filters = nil, order = nil) ⇒ DescribeCCRuleListRequest

Returns a new instance of DescribeCCRuleListRequest.



4303
4304
4305
4306
4307
4308
4309
4310
# File 'lib/v20180125/models.rb', line 4303

def initialize(domain=nil, offset=nil, limit=nil, by=nil, filters=nil, order=nil)
  @Domain = domain
  @Offset = offset
  @Limit = limit
  @By = by
  @Filters = filters
  @Order = order
end

Instance Attribute Details

#ByObject

Parameters:

  • Domain:

    需要查询的API所属的域名

  • Offset:

    偏移

  • Limit:

    容量

  • By:

    目前支持根据ts_version排序

  • Filters:

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

  • Order:

    asc或者desc



4301
4302
4303
# File 'lib/v20180125/models.rb', line 4301

def By
  @By
end

#DomainObject

Parameters:

  • Domain:

    需要查询的API所属的域名

  • Offset:

    偏移

  • Limit:

    容量

  • By:

    目前支持根据ts_version排序

  • Filters:

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

  • Order:

    asc或者desc



4301
4302
4303
# File 'lib/v20180125/models.rb', line 4301

def Domain
  @Domain
end

#FiltersObject

Parameters:

  • Domain:

    需要查询的API所属的域名

  • Offset:

    偏移

  • Limit:

    容量

  • By:

    目前支持根据ts_version排序

  • Filters:

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

  • Order:

    asc或者desc



4301
4302
4303
# File 'lib/v20180125/models.rb', line 4301

def Filters
  @Filters
end

#LimitObject

Parameters:

  • Domain:

    需要查询的API所属的域名

  • Offset:

    偏移

  • Limit:

    容量

  • By:

    目前支持根据ts_version排序

  • Filters:

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

  • Order:

    asc或者desc



4301
4302
4303
# File 'lib/v20180125/models.rb', line 4301

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • Domain:

    需要查询的API所属的域名

  • Offset:

    偏移

  • Limit:

    容量

  • By:

    目前支持根据ts_version排序

  • Filters:

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

  • Order:

    asc或者desc



4301
4302
4303
# File 'lib/v20180125/models.rb', line 4301

def Offset
  @Offset
end

#OrderObject

Parameters:

  • Domain:

    需要查询的API所属的域名

  • Offset:

    偏移

  • Limit:

    容量

  • By:

    目前支持根据ts_version排序

  • Filters:

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

  • Order:

    asc或者desc



4301
4302
4303
# File 'lib/v20180125/models.rb', line 4301

def Order
  @Order
end

Instance Method Details

#deserialize(params) ⇒ Object



4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
# File 'lib/v20180125/models.rb', line 4312

def deserialize(params)
  @Domain = params['Domain']
  @Offset = params['Offset']
  @Limit = params['Limit']
  @By = params['By']
  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']
end