class Azure::ServiceFabric::V6_3_0_9::Models::ChaosContext

Describes a map, which is a collection of (string, string) type key-value pairs. The map can be used to record information about the Chaos run. There cannot be more than 100 such pairs and each string (key or value) can be at most 4095 characters long. This map is set by the starter of the Chaos run to optionally store the context about the specific run.

Attributes

map[RW]

@return [Hash{String => String}] Describes a map that contains a collection of ChaosContextMapItem's.

Public Class Methods

mapper() click to toggle source

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

# File lib/6.3.0.9/generated/azure_service_fabric/models/chaos_context.rb, line 29
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ChaosContext',
    type: {
      name: 'Composite',
      class_name: 'ChaosContext',
      model_properties: {
        map: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Map',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end