Class: Azure::ServiceFabric::V6_3_0_9::Models::NodeEvent
- Inherits:
-
FabricEvent
- Object
- FabricEvent
- Azure::ServiceFabric::V6_3_0_9::Models::NodeEvent
- Includes:
- MsRestAzure
- Defined in:
- lib/6.3.0.9/generated/azure_service_fabric/models/node_event.rb
Overview
Represents the base for all Node Events.
Direct Known Subclasses
ChaosRestartNodeFaultCompletedEvent, ChaosRestartNodeFaultScheduledEvent, NodeAbortedEvent, NodeAbortingEvent, NodeAddedEvent, NodeCloseEvent, NodeClosingEvent, NodeDeactivateCompleteEvent, NodeDeactivateStartEvent, NodeDownEvent, NodeHealthReportCreatedEvent, NodeHealthReportExpiredEvent, NodeOpenFailedEvent, NodeOpenedSuccessEvent, NodeOpeningEvent, NodeRemovedEvent, NodeUpEvent
Instance Attribute Summary collapse
-
#Kind ⇒ Object
Returns the value of attribute Kind.
-
#node_name ⇒ String
The name of a Service Fabric node.
Attributes inherited from FabricEvent
#event_instance_id, #has_correlated_events, #time_stamp
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for NodeEvent class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ NodeEvent
constructor
A new instance of NodeEvent.
Constructor Details
#initialize ⇒ NodeEvent
Returns a new instance of NodeEvent.
16 17 18 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_event.rb', line 16 def initialize @Kind = "NodeEvent" end |
Instance Attribute Details
#Kind ⇒ Object
Returns the value of attribute Kind.
20 21 22 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_event.rb', line 20 def Kind @Kind end |
#node_name ⇒ String
Returns The name of a Service Fabric node.
23 24 25 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_event.rb', line 23 def node_name @node_name end |
Class Method Details
.mapper ⇒ Object
Mapper for NodeEvent class as Ruby Hash. This will be used for serialization/deserialization.
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_event.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'NodeEvent', type: { name: 'Composite', class_name: 'NodeEvent', model_properties: { event_instance_id: { client_side_validation: true, required: true, serialized_name: 'EventInstanceId', type: { name: 'String' } }, time_stamp: { client_side_validation: true, required: true, serialized_name: 'TimeStamp', type: { name: 'DateTime' } }, has_correlated_events: { client_side_validation: true, required: false, serialized_name: 'HasCorrelatedEvents', type: { name: 'Boolean' } }, Kind: { client_side_validation: true, required: true, serialized_name: 'Kind', type: { name: 'String' } }, node_name: { client_side_validation: true, required: false, serialized_name: 'NodeName', type: { name: 'String' } } } } } end |