Class: Azure::ServiceFabric::V6_3_0_9::Models::FabricEvent
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_3_0_9::Models::FabricEvent
- Includes:
- MsRestAzure
- Defined in:
- lib/6.3.0.9/generated/azure_service_fabric/models/fabric_event.rb
Overview
Represents the base for all Fabric Events.
Direct Known Subclasses
ApplicationEvent, ClusterEvent, ContainerInstanceEvent, NodeEvent, PartitionEvent, ReplicaEvent, ServiceEvent
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#event_instance_id ⇒ Object
The identifier for the FabricEvent instance.
-
#has_correlated_events ⇒ Boolean
Shows there is existing related events available.
-
#Kind ⇒ Object
Returns the value of attribute Kind.
-
#time_stamp ⇒ DateTime
The time event was logged.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for FabricEvent class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ FabricEvent
constructor
A new instance of FabricEvent.
Constructor Details
#initialize ⇒ FabricEvent
Returns a new instance of FabricEvent.
85 86 87 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/fabric_event.rb', line 85 def initialize @Kind = "FabricEvent" end |
Instance Attribute Details
#event_instance_id ⇒ Object
Returns The identifier for the FabricEvent instance.
92 93 94 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/fabric_event.rb', line 92 def event_instance_id @event_instance_id end |
#has_correlated_events ⇒ Boolean
Returns Shows there is existing related events available.
98 99 100 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/fabric_event.rb', line 98 def @has_correlated_events end |
#Kind ⇒ Object
Returns the value of attribute Kind.
89 90 91 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/fabric_event.rb', line 89 def Kind @Kind end |
#time_stamp ⇒ DateTime
Returns The time event was logged.
95 96 97 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/fabric_event.rb', line 95 def time_stamp @time_stamp end |
Class Method Details
.mapper ⇒ Object
Mapper for FabricEvent class as Ruby Hash. This will be used for serialization/deserialization.
105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/fabric_event.rb', line 105 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'FabricEvent', type: { name: 'Composite', polymorphic_discriminator: 'Kind', uber_parent: 'FabricEvent', class_name: 'FabricEvent', 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' } } } } } end |