Class: TencentCloud::Monitor::V20180724::AlarmEvent
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::AlarmEvent
- Defined in:
- lib/v20180724/models.rb
Overview
告警事件
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(eventname = nil, description = nil, namespace = nil) ⇒ AlarmEvent
constructor
A new instance of AlarmEvent.
Constructor Details
#initialize(eventname = nil, description = nil, namespace = nil) ⇒ AlarmEvent
Returns a new instance of AlarmEvent.
58 59 60 61 62 |
# File 'lib/v20180724/models.rb', line 58 def initialize(eventname=nil, description=nil, namespace=nil) @EventName = eventname @Description = description @Namespace = namespace end |
Instance Attribute Details
#Description ⇒ Object
56 57 58 |
# File 'lib/v20180724/models.rb', line 56 def Description @Description end |
#EventName ⇒ Object
56 57 58 |
# File 'lib/v20180724/models.rb', line 56 def EventName @EventName end |
#Namespace ⇒ Object
56 57 58 |
# File 'lib/v20180724/models.rb', line 56 def Namespace @Namespace end |
Instance Method Details
#deserialize(params) ⇒ Object
64 65 66 67 68 |
# File 'lib/v20180724/models.rb', line 64 def deserialize(params) @EventName = params['EventName'] @Description = params['Description'] @Namespace = params['Namespace'] end |