Class: TencentCloud::Cwp::V20180228::DescribeVulCountByDatesRequest

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

Overview

DescribeVulCountByDates请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(lastdays = nil, vulcategory = nil, ifemergency = nil) ⇒ DescribeVulCountByDatesRequest

Returns a new instance of DescribeVulCountByDatesRequest.



23177
23178
23179
23180
23181
# File 'lib/v20180228/models.rb', line 23177

def initialize(lastdays=nil, vulcategory=nil, ifemergency=nil)
  @LastDays = lastdays
  @VulCategory = vulcategory
  @IfEmergency = ifemergency
end

Instance Attribute Details

#IfEmergencyObject

Parameters:

  • LastDays:

    需要查询最近几天的数据,需要都 -1后传入

  • VulCategory:

    漏洞的分类: 1: web-cms漏洞 2:应用漏洞 4: Linux软件漏洞 5: Windows系统漏洞

  • IfEmergency:

    是否为应急漏洞筛选 是: yes



23175
23176
23177
# File 'lib/v20180228/models.rb', line 23175

def IfEmergency
  @IfEmergency
end

#LastDaysObject

Parameters:

  • LastDays:

    需要查询最近几天的数据,需要都 -1后传入

  • VulCategory:

    漏洞的分类: 1: web-cms漏洞 2:应用漏洞 4: Linux软件漏洞 5: Windows系统漏洞

  • IfEmergency:

    是否为应急漏洞筛选 是: yes



23175
23176
23177
# File 'lib/v20180228/models.rb', line 23175

def LastDays
  @LastDays
end

#VulCategoryObject

Parameters:

  • LastDays:

    需要查询最近几天的数据,需要都 -1后传入

  • VulCategory:

    漏洞的分类: 1: web-cms漏洞 2:应用漏洞 4: Linux软件漏洞 5: Windows系统漏洞

  • IfEmergency:

    是否为应急漏洞筛选 是: yes



23175
23176
23177
# File 'lib/v20180228/models.rb', line 23175

def VulCategory
  @VulCategory
end

Instance Method Details

#deserialize(params) ⇒ Object



23183
23184
23185
23186
23187
# File 'lib/v20180228/models.rb', line 23183

def deserialize(params)
  @LastDays = params['LastDays']
  @VulCategory = params['VulCategory']
  @IfEmergency = params['IfEmergency']
end