class Azure::ServiceFabric::V7_0_0_42::Models::ChaosEvent

Represents an event generated during a Chaos run.

Attributes

Kind[RW]
time_stamp_utc[RW]

@return [DateTime] The UTC timestamp when this Chaos event was generated.

Private Class Methods

mapper() click to toggle source

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

# File lib/7.0.0.42/generated/azure_service_fabric/models/chaos_event.rb, line 38
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ChaosEvent',
    type: {
      name: 'Composite',
      polymorphic_discriminator: 'Kind',
      uber_parent: 'ChaosEvent',
      class_name: 'ChaosEvent',
      model_properties: {
        time_stamp_utc: {
          client_side_validation: true,
          required: true,
          serialized_name: 'TimeStampUtc',
          type: {
            name: 'DateTime'
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/7.0.0.42/generated/azure_service_fabric/models/chaos_event.rb, line 23
def initialize
  @Kind = "ChaosEvent"
end