Class: TencentCloud::Waf::V20180125::DescribeUserSignatureRuleRequest

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

Overview

DescribeUserSignatureRule请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DescribeUserSignatureRuleRequest.



6643
6644
6645
6646
6647
6648
6649
6650
# File 'lib/v20180125/models.rb', line 6643

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

Instance Attribute Details

#ByObject

Parameters:

  • Domain:

    需要查询的域名

  • Offset:

    分页

  • Limit:

    每页容量

  • By:

    排序字段,支持 signature_id, modify_time

  • Order:

    排序方式

  • Filters:

    筛选条件,支持 MainClassName,SubClassID ,CveID, Status, ID; ID为规则id



6641
6642
6643
# File 'lib/v20180125/models.rb', line 6641

def By
  @By
end

#DomainObject

Parameters:

  • Domain:

    需要查询的域名

  • Offset:

    分页

  • Limit:

    每页容量

  • By:

    排序字段,支持 signature_id, modify_time

  • Order:

    排序方式

  • Filters:

    筛选条件,支持 MainClassName,SubClassID ,CveID, Status, ID; ID为规则id



6641
6642
6643
# File 'lib/v20180125/models.rb', line 6641

def Domain
  @Domain
end

#FiltersObject

Parameters:

  • Domain:

    需要查询的域名

  • Offset:

    分页

  • Limit:

    每页容量

  • By:

    排序字段,支持 signature_id, modify_time

  • Order:

    排序方式

  • Filters:

    筛选条件,支持 MainClassName,SubClassID ,CveID, Status, ID; ID为规则id



6641
6642
6643
# File 'lib/v20180125/models.rb', line 6641

def Filters
  @Filters
end

#LimitObject

Parameters:

  • Domain:

    需要查询的域名

  • Offset:

    分页

  • Limit:

    每页容量

  • By:

    排序字段,支持 signature_id, modify_time

  • Order:

    排序方式

  • Filters:

    筛选条件,支持 MainClassName,SubClassID ,CveID, Status, ID; ID为规则id



6641
6642
6643
# File 'lib/v20180125/models.rb', line 6641

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • Domain:

    需要查询的域名

  • Offset:

    分页

  • Limit:

    每页容量

  • By:

    排序字段,支持 signature_id, modify_time

  • Order:

    排序方式

  • Filters:

    筛选条件,支持 MainClassName,SubClassID ,CveID, Status, ID; ID为规则id



6641
6642
6643
# File 'lib/v20180125/models.rb', line 6641

def Offset
  @Offset
end

#OrderObject

Parameters:

  • Domain:

    需要查询的域名

  • Offset:

    分页

  • Limit:

    每页容量

  • By:

    排序字段,支持 signature_id, modify_time

  • Order:

    排序方式

  • Filters:

    筛选条件,支持 MainClassName,SubClassID ,CveID, Status, ID; ID为规则id



6641
6642
6643
# File 'lib/v20180125/models.rb', line 6641

def Order
  @Order
end

Instance Method Details

#deserialize(params) ⇒ Object



6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
# File 'lib/v20180125/models.rb', line 6652

def deserialize(params)
  @Domain = params['Domain']
  @Offset = params['Offset']
  @Limit = params['Limit']
  @By = params['By']
  @Order = params['Order']
  unless params['Filters'].nil?
    @Filters = []
    params['Filters'].each do |i|
      filtersitemnew_tmp = FiltersItemNew.new
      filtersitemnew_tmp.deserialize(i)
      @Filters << filtersitemnew_tmp
    end
  end
end