Class: TencentCloud::Cwp::V20180228::ExportVulListRequest

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

Overview

ExportVulList请求参数结构体

Instance Attribute Summary collapse

  • #IfDetail ⇒ Object
  • VulCategory - int - 是否必填:否 - 漏洞分类筛选1: web-cms漏洞 2:应用漏洞 4: Linux软件漏洞 5: Windows系统漏洞
  • IfEmergency - String - 是否必填:否 - 是否为应急漏洞,查询应急漏洞传:yes
  • Status - String - 是否必填:是 - 漏洞状态筛选,0: 待处理 1:忽略 3:已修复 5:检测中, 控制台仅处理0,1,3,5四种状态
  • Level - String - 是否必填:否 - 漏洞等级筛选 1:低 2:中 3:高 4:提示
  • VulName- String - 是否必填:否 - 漏洞名称搜索
  • .

    Instance Method Summary collapse

    Constructor Details

    #initialize(filters = nil, ifdetail = nil) ⇒ ExportVulListRequest

    Returns a new instance of ExportVulListRequest.

    
    
    28772
    28773
    28774
    28775
    # File 'lib/v20180228/models.rb', line 28772
    
    def initialize(filters=nil, ifdetail=nil)
      @Filters = filters
      @IfDetail = ifdetail
    end

    Instance Attribute Details

    #FiltersObject

  • VulCategory - int - 是否必填:否 - 漏洞分类筛选1: web-cms漏洞 2:应用漏洞 4: Linux软件漏洞 5: Windows系统漏洞
  • IfEmergency - String - 是否必填:否 - 是否为应急漏洞,查询应急漏洞传:yes
  • Status - String - 是否必填:是 - 漏洞状态筛选,0: 待处理 1:忽略 3:已修复 5:检测中, 控制台仅处理0,1,3,5四种状态
  • Level - String - 是否必填:否 - 漏洞等级筛选 1:低 2:中 3:高 4:提示
  • VulName- String - 是否必填:否 - 漏洞名称搜索
  • Parameters:

    • Filters:

      过滤条件。

    • IfDetail:

      是否导出详情,1是 0不是

    
    
    28770
    28771
    28772
    # File 'lib/v20180228/models.rb', line 28770
    
    def Filters
      @Filters
    end

    #IfDetailObject

  • VulCategory - int - 是否必填:否 - 漏洞分类筛选1: web-cms漏洞 2:应用漏洞 4: Linux软件漏洞 5: Windows系统漏洞
  • IfEmergency - String - 是否必填:否 - 是否为应急漏洞,查询应急漏洞传:yes
  • Status - String - 是否必填:是 - 漏洞状态筛选,0: 待处理 1:忽略 3:已修复 5:检测中, 控制台仅处理0,1,3,5四种状态
  • Level - String - 是否必填:否 - 漏洞等级筛选 1:低 2:中 3:高 4:提示
  • VulName- String - 是否必填:否 - 漏洞名称搜索
  • Parameters:

    • Filters:

      过滤条件。

    • IfDetail:

      是否导出详情,1是 0不是

    
    
    28770
    28771
    28772
    # File 'lib/v20180228/models.rb', line 28770
    
    def IfDetail
      @IfDetail
    end

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    28777
    28778
    28779
    28780
    28781
    28782
    28783
    28784
    28785
    28786
    28787
    # File 'lib/v20180228/models.rb', line 28777
    
    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
      @IfDetail = params['IfDetail']
    end