Class: TencentCloud::Ssa::V20180608::AlarmInfoRsp

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

Overview

用户威胁告警信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attackevent = nil) ⇒ AlarmInfoRsp

Returns a new instance of AlarmInfoRsp.



55
56
57
# File 'lib/v20180608/models.rb', line 55

def initialize(attackevent=nil)
  @AttackEvent = attackevent
end

Instance Attribute Details

#AttackEventObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • AttackEvent:

    近7天威胁告警



53
54
55
# File 'lib/v20180608/models.rb', line 53

def AttackEvent
  @AttackEvent
end

Instance Method Details

#deserialize(params) ⇒ Object



59
60
61
62
63
64
65
66
67
68
# File 'lib/v20180608/models.rb', line 59

def deserialize(params)
  unless params['AttackEvent'].nil?
    @AttackEvent = []
    params['AttackEvent'].each do |i|
      attackevent_tmp = AttackEvent.new
      attackevent_tmp.deserialize(i)
      @AttackEvent << attackevent_tmp
    end
  end
end