Sha256: 740fccadde5e0e4381c6f730536a17409039e8127cf4c9cd6c1dfc1c53aeab21

Contents?: true

Size: 1.27 KB

Versions: 5

Compression:

Stored size: 1.27 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ServiceFabric::V6_2_0_9
  module Models
    #
    # Wrapper object for Chaos event.
    #
    class ChaosEventWrapper

      include MsRestAzure

      # @return [ChaosEvent] Represents an event generated during a Chaos run.
      attr_accessor :chaos_event


      #
      # Mapper for ChaosEventWrapper class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ChaosEventWrapper',
          type: {
            name: 'Composite',
            class_name: 'ChaosEventWrapper',
            model_properties: {
              chaos_event: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ChaosEvent',
                type: {
                  name: 'Composite',
                  polymorphic_discriminator: 'Kind',
                  uber_parent: 'ChaosEvent',
                  class_name: 'ChaosEvent'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/6.2.0.9/generated/azure_service_fabric/models/chaos_event_wrapper.rb
azure_service_fabric-0.18.0 lib/6.2.0.9/generated/azure_service_fabric/models/chaos_event_wrapper.rb
azure_service_fabric-0.17.2 lib/6.2.0.9/generated/azure_service_fabric/models/chaos_event_wrapper.rb
azure_service_fabric-0.17.1 lib/6.2.0.9/generated/azure_service_fabric/models/chaos_event_wrapper.rb
azure_service_fabric-0.17.0 lib/6.2.0.9/generated/azure_service_fabric/models/chaos_event_wrapper.rb