Class: TencentCloud::Cwp::V20180228::DescribeBaselineRuleListRequest

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

Overview

DescribeBaselineRuleList请求参数结构体

Instance Attribute Summary collapse

  • #Filters ⇒ Object
  • CategoryId - int64 - 是否必填:否 自定义筛选为-1 - 规则分类
  • RuleType - int - 是否必填:否 0:系统 1:自定义 - 规则类型
  • .
  • #Limit ⇒ Object
  • CategoryId - int64 - 是否必填:否 自定义筛选为-1 - 规则分类
  • RuleType - int - 是否必填:否 0:系统 1:自定义 - 规则类型
  • .
  • #Offset ⇒ Object
  • CategoryId - int64 - 是否必填:否 自定义筛选为-1 - 规则分类
  • RuleType - int - 是否必填:否 0:系统 1:自定义 - 规则类型
  • .
  • #Order ⇒ Object
  • CategoryId - int64 - 是否必填:否 自定义筛选为-1 - 规则分类
  • RuleType - int - 是否必填:否 0:系统 1:自定义 - 规则类型
  • .

    Instance Method Summary collapse

    Constructor Details

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

    Returns a new instance of DescribeBaselineRuleListRequest.

    
    
    13016
    13017
    13018
    13019
    13020
    13021
    13022
    # File 'lib/v20180228/models.rb', line 13016
    
    def initialize(filters=nil, limit=nil, offset=nil, order=nil, by=nil)
      @Filters = filters
      @Limit = limit
      @Offset = offset
      @Order = order
      @By = by
    end

    Instance Attribute Details

    #ByObject

  • CategoryId - int64 - 是否必填:否 自定义筛选为-1 - 规则分类
  • RuleType - int - 是否必填:否 0:系统 1:自定义 - 规则类型
  • Parameters:

    • Filters: (li)

      RuleName - String - 是否必填:否 - 规则名称

  • Limit:

    限制条数,默认10,最大100

  • Offset:

    偏移量,默认0

  • Order:

    排序方式: [ASC:升序|DESC:降序]

  • By:

    可选排序列

  • 
    
    13014
    13015
    13016
    # File 'lib/v20180228/models.rb', line 13014
    
    def By
      @By
    end

    #FiltersObject

  • CategoryId - int64 - 是否必填:否 自定义筛选为-1 - 规则分类
  • RuleType - int - 是否必填:否 0:系统 1:自定义 - 规则类型
  • Parameters:

  • Limit:

    限制条数,默认10,最大100

  • Offset:

    偏移量,默认0

  • Order:

    排序方式: [ASC:升序|DESC:降序]

  • By:

    可选排序列

  • 
    
    13014
    13015
    13016
    # File 'lib/v20180228/models.rb', line 13014
    
    def Filters
      @Filters
    end

    #LimitObject

  • CategoryId - int64 - 是否必填:否 自定义筛选为-1 - 规则分类
  • RuleType - int - 是否必填:否 0:系统 1:自定义 - 规则类型
  • Parameters:

  • Limit:

    限制条数,默认10,最大100

  • Offset:

    偏移量,默认0

  • Order:

    排序方式: [ASC:升序|DESC:降序]

  • By:

    可选排序列

  • 
    
    13014
    13015
    13016
    # File 'lib/v20180228/models.rb', line 13014
    
    def Limit
      @Limit
    end

    #OffsetObject

  • CategoryId - int64 - 是否必填:否 自定义筛选为-1 - 规则分类
  • RuleType - int - 是否必填:否 0:系统 1:自定义 - 规则类型
  • Parameters:

  • Limit:

    限制条数,默认10,最大100

  • Offset:

    偏移量,默认0

  • Order:

    排序方式: [ASC:升序|DESC:降序]

  • By:

    可选排序列

  • 
    
    13014
    13015
    13016
    # File 'lib/v20180228/models.rb', line 13014
    
    def Offset
      @Offset
    end

    #OrderObject

  • CategoryId - int64 - 是否必填:否 自定义筛选为-1 - 规则分类
  • RuleType - int - 是否必填:否 0:系统 1:自定义 - 规则类型
  • Parameters:

  • Limit:

    限制条数,默认10,最大100

  • Offset:

    偏移量,默认0

  • Order:

    排序方式: [ASC:升序|DESC:降序]

  • By:

    可选排序列

  • 
    
    13014
    13015
    13016
    # File 'lib/v20180228/models.rb', line 13014
    
    def Order
      @Order
    end

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    13024
    13025
    13026
    13027
    13028
    13029
    13030
    13031
    13032
    13033
    13034
    13035
    13036
    13037
    # File 'lib/v20180228/models.rb', line 13024
    
    def deserialize(params)
      unless params['Filters'].nil?
        @Filters = []
        params['Filters'].each do |i|
          filter_tmp = Filter.new
          filter_tmp.deserialize(i)
          @Filters << filter_tmp
        end
      end
      @Limit = params['Limit']
      @Offset = params['Offset']
      @Order = params['Order']
      @By = params['By']
    end