Class: TencentCloud::Ssa::V20180608::AlarmInfoRsp
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ssa::V20180608::AlarmInfoRsp
- Defined in:
- lib/v20180608/models.rb
Overview
用户威胁告警信息
Instance Attribute Summary collapse
-
#AttackEvent ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(attackevent = nil) ⇒ AlarmInfoRsp
constructor
A new instance of AlarmInfoRsp.
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
#AttackEvent ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
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 |