Class: Azure::ServiceFabric::V6_3_0_9::Models::NodeDeactivateCompleteEvent
- Inherits:
-
NodeEvent
- Object
- FabricEvent
- NodeEvent
- Azure::ServiceFabric::V6_3_0_9::Models::NodeDeactivateCompleteEvent
- Includes:
- MsRestAzure
- Defined in:
- lib/6.3.0.9/generated/azure_service_fabric/models/node_deactivate_complete_event.rb
Overview
Node Deactivate Complete event.
Instance Attribute Summary collapse
-
#batch_ids_with_deactivate_intent ⇒ String
Batch Ids.
-
#effective_deactivate_intent ⇒ String
Describes deactivate intent.
-
#Kind ⇒ Object
Returns the value of attribute Kind.
-
#node_instance ⇒ Integer
Id of Node instance.
-
#start_time ⇒ DateTime
Start time.
Attributes inherited from NodeEvent
Attributes inherited from FabricEvent
#event_instance_id, #has_correlated_events, #time_stamp
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for NodeDeactivateCompleteEvent class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ NodeDeactivateCompleteEvent
constructor
A new instance of NodeDeactivateCompleteEvent.
Constructor Details
#initialize ⇒ NodeDeactivateCompleteEvent
Returns a new instance of NodeDeactivateCompleteEvent.
16 17 18 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_deactivate_complete_event.rb', line 16 def initialize @Kind = "NodeDeactivateComplete" end |
Instance Attribute Details
#batch_ids_with_deactivate_intent ⇒ String
Returns Batch Ids.
29 30 31 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_deactivate_complete_event.rb', line 29 def batch_ids_with_deactivate_intent @batch_ids_with_deactivate_intent end |
#effective_deactivate_intent ⇒ String
Returns Describes deactivate intent.
26 27 28 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_deactivate_complete_event.rb', line 26 def effective_deactivate_intent @effective_deactivate_intent end |
#Kind ⇒ Object
Returns the value of attribute Kind.
20 21 22 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_deactivate_complete_event.rb', line 20 def Kind @Kind end |
#node_instance ⇒ Integer
Returns Id of Node instance.
23 24 25 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_deactivate_complete_event.rb', line 23 def node_instance @node_instance end |
#start_time ⇒ DateTime
Returns Start time.
32 33 34 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_deactivate_complete_event.rb', line 32 def start_time @start_time end |
Class Method Details
.mapper ⇒ Object
Mapper for NodeDeactivateCompleteEvent class as Ruby Hash. This will be used for serialization/deserialization.
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 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_deactivate_complete_event.rb', line 39 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'NodeDeactivateComplete', type: { name: 'Composite', class_name: 'NodeDeactivateCompleteEvent', 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' } }, node_instance: { client_side_validation: true, required: false, serialized_name: 'NodeInstance', type: { name: 'Number' } }, effective_deactivate_intent: { client_side_validation: true, required: false, serialized_name: 'EffectiveDeactivateIntent', type: { name: 'String' } }, batch_ids_with_deactivate_intent: { client_side_validation: true, required: false, serialized_name: 'BatchIdsWithDeactivateIntent', type: { name: 'String' } }, start_time: { client_side_validation: true, required: false, serialized_name: 'StartTime', type: { name: 'DateTime' } } } } } end |