Sha256: 3ef2dbc3a48f31175dd52d97e2f7b1332dbec7eb41ca7f4ec88a668782236a96

Contents?: true

Size: 1.81 KB

Versions: 3

Compression:

Stored size: 1.81 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_5_0_36
  module Models
    #
    # Describes a Chaos event that gets generated when Chaos is started.
    #
    class StartedChaosEvent < ChaosEvent

      include MsRestAzure


      def initialize
        @Kind = "Started"
      end

      attr_accessor :Kind

      # @return [ChaosParameters] Defines all the parameters to configure a
      # Chaos run.
      attr_accessor :chaos_parameters


      #
      # Mapper for StartedChaosEvent class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'Started',
          type: {
            name: 'Composite',
            class_name: 'StartedChaosEvent',
            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'
                }
              },
              chaos_parameters: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ChaosParameters',
                type: {
                  name: 'Composite',
                  class_name: 'ChaosParameters'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/6.5.0.36/generated/azure_service_fabric/models/started_chaos_event.rb
azure_service_fabric-0.18.0 lib/6.5.0.36/generated/azure_service_fabric/models/started_chaos_event.rb
azure_service_fabric-0.17.2 lib/6.5.0.36/generated/azure_service_fabric/models/started_chaos_event.rb