Class: TencentCloud::Cwp::V20180228::VulDefenceOverview

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(enable = nil, defendhostcount = nil, exceptioncount = nil, attackcounts = nil, defendcounts = nil, date = nil) ⇒ VulDefenceOverview

Returns a new instance of VulDefenceOverview.



40472
40473
40474
40475
40476
40477
40478
40479
# File 'lib/v20180228/models.rb', line 40472

def initialize(enable=nil, defendhostcount=nil, exceptioncount=nil, attackcounts=nil, defendcounts=nil, date=nil)
  @Enable = enable
  @DefendHostCount = defendhostcount
  @ExceptionCount = exceptioncount
  @AttackCounts = attackcounts
  @DefendCounts = defendcounts
  @Date = date
end

Instance Attribute Details

#AttackCountsObject

Parameters:

  • Enable:

    防御开关:0 关闭 1 开启

  • DefendHostCount:

    已开启防御主机数

  • ExceptionCount:

    插件异常数

  • AttackCounts:

    每日攻击趋势

  • DefendCounts:

    每日防御趋势

  • Date:

    日期



40470
40471
40472
# File 'lib/v20180228/models.rb', line 40470

def AttackCounts
  @AttackCounts
end

#DateObject

Parameters:

  • Enable:

    防御开关:0 关闭 1 开启

  • DefendHostCount:

    已开启防御主机数

  • ExceptionCount:

    插件异常数

  • AttackCounts:

    每日攻击趋势

  • DefendCounts:

    每日防御趋势

  • Date:

    日期



40470
40471
40472
# File 'lib/v20180228/models.rb', line 40470

def Date
  @Date
end

#DefendCountsObject

Parameters:

  • Enable:

    防御开关:0 关闭 1 开启

  • DefendHostCount:

    已开启防御主机数

  • ExceptionCount:

    插件异常数

  • AttackCounts:

    每日攻击趋势

  • DefendCounts:

    每日防御趋势

  • Date:

    日期



40470
40471
40472
# File 'lib/v20180228/models.rb', line 40470

def DefendCounts
  @DefendCounts
end

#DefendHostCountObject

Parameters:

  • Enable:

    防御开关:0 关闭 1 开启

  • DefendHostCount:

    已开启防御主机数

  • ExceptionCount:

    插件异常数

  • AttackCounts:

    每日攻击趋势

  • DefendCounts:

    每日防御趋势

  • Date:

    日期



40470
40471
40472
# File 'lib/v20180228/models.rb', line 40470

def DefendHostCount
  @DefendHostCount
end

#EnableObject

Parameters:

  • Enable:

    防御开关:0 关闭 1 开启

  • DefendHostCount:

    已开启防御主机数

  • ExceptionCount:

    插件异常数

  • AttackCounts:

    每日攻击趋势

  • DefendCounts:

    每日防御趋势

  • Date:

    日期



40470
40471
40472
# File 'lib/v20180228/models.rb', line 40470

def Enable
  @Enable
end

#ExceptionCountObject

Parameters:

  • Enable:

    防御开关:0 关闭 1 开启

  • DefendHostCount:

    已开启防御主机数

  • ExceptionCount:

    插件异常数

  • AttackCounts:

    每日攻击趋势

  • DefendCounts:

    每日防御趋势

  • Date:

    日期



40470
40471
40472
# File 'lib/v20180228/models.rb', line 40470

def ExceptionCount
  @ExceptionCount
end

Instance Method Details

#deserialize(params) ⇒ Object



40481
40482
40483
40484
40485
40486
40487
40488
# File 'lib/v20180228/models.rb', line 40481

def deserialize(params)
  @Enable = params['Enable']
  @DefendHostCount = params['DefendHostCount']
  @ExceptionCount = params['ExceptionCount']
  @AttackCounts = params['AttackCounts']
  @DefendCounts = params['DefendCounts']
  @Date = params['Date']
end