Class: Azure::ServiceFabric::V6_3_0_9::Models::FabricEvent

Inherits:
Object
  • Object
show all
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.

Constant Summary collapse

@@discriminatorMap =
Hash.new

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFabricEvent

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_idObject

Returns The identifier for the FabricEvent instance.

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_eventsBoolean

Returns Shows there is existing related events available.

Returns:

  • (Boolean)

    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
  @has_correlated_events
end

#KindObject

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_stampDateTime

Returns The time event was logged.

Returns:

  • (DateTime)

    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

.mapperObject

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