Class: TencentCloud::Cwp::V20180228::VulDefenceOverview
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::VulDefenceOverview
- Defined in:
- lib/v20180228/models.rb
Overview
漏洞防御趋势页,包括插件状态及攻防趋势,趋势由三个长度相同,元素一一对应的数组保存,如果某天没有数据将会缺失
Instance Attribute Summary collapse
- #AttackCounts ⇒ Object
- #Date ⇒ Object
- #DefendCounts ⇒ Object
- #DefendHostCount ⇒ Object
- #Enable ⇒ Object
- #ExceptionCount ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(enable = nil, defendhostcount = nil, exceptioncount = nil, attackcounts = nil, defendcounts = nil, date = nil) ⇒ VulDefenceOverview
constructor
A new instance of VulDefenceOverview.
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
#AttackCounts ⇒ Object
40470 40471 40472 |
# File 'lib/v20180228/models.rb', line 40470 def AttackCounts @AttackCounts end |
#Date ⇒ Object
40470 40471 40472 |
# File 'lib/v20180228/models.rb', line 40470 def Date @Date end |
#DefendCounts ⇒ Object
40470 40471 40472 |
# File 'lib/v20180228/models.rb', line 40470 def DefendCounts @DefendCounts end |
#DefendHostCount ⇒ Object
40470 40471 40472 |
# File 'lib/v20180228/models.rb', line 40470 def DefendHostCount @DefendHostCount end |
#Enable ⇒ Object
40470 40471 40472 |
# File 'lib/v20180228/models.rb', line 40470 def Enable @Enable end |
#ExceptionCount ⇒ Object
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 |