class Azure::ServiceFabric::V6_3_0_9::Models::FabricEvent

Represents the base for all Fabric Events.

Attributes

Kind[RW]
event_instance_id[RW]

@return The identifier for the FabricEvent instance.

has_correlated_events[RW]

@return [Boolean] Shows there is existing related events available.

time_stamp[RW]

@return [DateTime] The time event was logged.

Public Class Methods

mapper() click to toggle source

Mapper for FabricEvent class as Ruby Hash. This will be used for serialization/deserialization.

# 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
new() click to toggle source
# File lib/6.3.0.9/generated/azure_service_fabric/models/fabric_event.rb, line 85
def initialize
  @Kind = "FabricEvent"
end