Class: TencentCloud::Cwp::V20180228::ScreenEventsCnt

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

Overview

统计入侵检测

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(title = nil, total = nil, category = nil) ⇒ ScreenEventsCnt

Returns a new instance of ScreenEventsCnt.



38409
38410
38411
38412
38413
# File 'lib/v20180228/models.rb', line 38409

def initialize(title=nil, total=nil, category=nil)
  @Title = title
  @Total = total
  @Category = category
end

Instance Attribute Details

#CategoryObject

Value: 事件统计数

Parameters:

  • Title:

    展示内容:待处理风险总数,影响资产总数

  • Total:

    事件总数

  • Category:

    name 具体展示内容类型: 攻击事件, 潜在风险, 失陷资产, 潜在风险资产



38407
38408
38409
# File 'lib/v20180228/models.rb', line 38407

def Category
  @Category
end

#TitleObject

Value: 事件统计数

Parameters:

  • Title:

    展示内容:待处理风险总数,影响资产总数

  • Total:

    事件总数

  • Category:

    name 具体展示内容类型: 攻击事件, 潜在风险, 失陷资产, 潜在风险资产



38407
38408
38409
# File 'lib/v20180228/models.rb', line 38407

def Title
  @Title
end

#TotalObject

Value: 事件统计数

Parameters:

  • Title:

    展示内容:待处理风险总数,影响资产总数

  • Total:

    事件总数

  • Category:

    name 具体展示内容类型: 攻击事件, 潜在风险, 失陷资产, 潜在风险资产



38407
38408
38409
# File 'lib/v20180228/models.rb', line 38407

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



38415
38416
38417
38418
38419
38420
38421
38422
38423
38424
38425
38426
# File 'lib/v20180228/models.rb', line 38415

def deserialize(params)
  @Title = params['Title']
  @Total = params['Total']
  unless params['Category'].nil?
    @Category = []
    params['Category'].each do |i|
      screennamevalue_tmp = ScreenNameValue.new
      screennamevalue_tmp.deserialize(i)
      @Category << screennamevalue_tmp
    end
  end
end