Class: TencentCloud::Cwp::V20180228::DescribeBaselineItemInfoRequest

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

Overview

DescribeBaselineItemInfo请求参数结构体

Instance Attribute Summary collapse

  • #Filters ⇒ Object
  • Level - int - 是否必填:否 - 风险等级
  • ItemName - string - 是否必填:否 - 检测项名字
  • RuleId - int - 是否必填:否 - 规则Id
  • .
  • #Limit ⇒ Object
  • Level - int - 是否必填:否 - 风险等级
  • ItemName - string - 是否必填:否 - 检测项名字
  • RuleId - int - 是否必填:否 - 规则Id
  • .
  • #Offset ⇒ Object
  • Level - int - 是否必填:否 - 风险等级
  • ItemName - string - 是否必填:否 - 检测项名字
  • RuleId - int - 是否必填:否 - 规则Id
  • .
  • #Order ⇒ Object
  • Level - int - 是否必填:否 - 风险等级
  • ItemName - string - 是否必填:否 - 检测项名字
  • RuleId - int - 是否必填:否 - 规则Id
  • .

    Instance Method Summary collapse

    Constructor Details

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

    Returns a new instance of DescribeBaselineItemInfoRequest.

    
    
    12494
    12495
    12496
    12497
    12498
    12499
    12500
    # File 'lib/v20180228/models.rb', line 12494
    
    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

  • Level - int - 是否必填:否 - 风险等级
  • ItemName - string - 是否必填:否 - 检测项名字
  • RuleId - int - 是否必填:否 - 规则Id
  • Parameters:

    • ItemId - int64 - 是否必填:否 - 项Id

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

  • 偏移量,默认0

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

  • 可选排序列

  • 
    
    12492
    12493
    12494
    # File 'lib/v20180228/models.rb', line 12492
    
    def By
      @By
    end

    #FiltersObject

  • Level - int - 是否必填:否 - 风险等级
  • ItemName - string - 是否必填:否 - 检测项名字
  • RuleId - int - 是否必填:否 - 规则Id
  • Parameters:

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

  • 偏移量,默认0

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

  • 可选排序列

  • 
    
    12492
    12493
    12494
    # File 'lib/v20180228/models.rb', line 12492
    
    def Filters
      @Filters
    end

    #LimitObject

  • Level - int - 是否必填:否 - 风险等级
  • ItemName - string - 是否必填:否 - 检测项名字
  • RuleId - int - 是否必填:否 - 规则Id
  • Parameters:

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

  • 偏移量,默认0

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

  • 可选排序列

  • 
    
    12492
    12493
    12494
    # File 'lib/v20180228/models.rb', line 12492
    
    def Limit
      @Limit
    end

    #OffsetObject

  • Level - int - 是否必填:否 - 风险等级
  • ItemName - string - 是否必填:否 - 检测项名字
  • RuleId - int - 是否必填:否 - 规则Id
  • Parameters:

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

  • 偏移量,默认0

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

  • 可选排序列

  • 
    
    12492
    12493
    12494
    # File 'lib/v20180228/models.rb', line 12492
    
    def Offset
      @Offset
    end

    #OrderObject

  • Level - int - 是否必填:否 - 风险等级
  • ItemName - string - 是否必填:否 - 检测项名字
  • RuleId - int - 是否必填:否 - 规则Id
  • Parameters:

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

  • 偏移量,默认0

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

  • 可选排序列

  • 
    
    12492
    12493
    12494
    # File 'lib/v20180228/models.rb', line 12492
    
    def Order
      @Order
    end

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    12502
    12503
    12504
    12505
    12506
    12507
    12508
    12509
    12510
    12511
    12512
    12513
    12514
    12515
    # File 'lib/v20180228/models.rb', line 12502
    
    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