class Azure::ServiceFabric::V6_5_0_36::Models::ExecutingFaultsChaosEvent

Describes a Chaos event that gets generated when Chaos has decided on the faults for an iteration. This Chaos event contains the details of the faults as a list of strings.

Attributes

Kind[RW]
faults[RW]

@return [Array<String>] List of string description of the faults that Chaos decided to execute in an iteration.

Public Class Methods

mapper() click to toggle source

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

# File lib/6.5.0.36/generated/azure_service_fabric/models/executing_faults_chaos_event.rb, line 33
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ExecutingFaults',
    type: {
      name: 'Composite',
      class_name: 'ExecutingFaultsChaosEvent',
      model_properties: {
        time_stamp_utc: {
          client_side_validation: true,
          required: true,
          serialized_name: 'TimeStampUtc',
          type: {
            name: 'DateTime'
          }
        },
        Kind: {
          client_side_validation: true,
          required: true,
          serialized_name: 'Kind',
          type: {
            name: 'String'
          }
        },
        faults: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Faults',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/6.5.0.36/generated/azure_service_fabric/models/executing_faults_chaos_event.rb, line 18
def initialize
  @Kind = "ExecutingFaults"
end