Sha256: a8b82e70468b63689648257f99711b1fbd0c31454f376ea03c1697e0a7fccf5f

Contents?: true

Size: 1.65 KB

Versions: 3

Compression:

Stored size: 1.65 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
    #
    # Defines an item in ChaosParametersDictionary of the Chaos Schedule.
    #
    class ChaosParametersDictionaryItem

      include MsRestAzure

      # @return [String] The key identifying the Chaos Parameter in the
      # dictionary. This key is referenced by Chaos Schedule Jobs.
      attr_accessor :key

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


      #
      # Mapper for ChaosParametersDictionaryItem class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ChaosParametersDictionaryItem',
          type: {
            name: 'Composite',
            class_name: 'ChaosParametersDictionaryItem',
            model_properties: {
              key: {
                client_side_validation: true,
                required: true,
                serialized_name: 'Key',
                type: {
                  name: 'String'
                }
              },
              value: {
                client_side_validation: true,
                required: true,
                serialized_name: 'Value',
                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/chaos_parameters_dictionary_item.rb
azure_service_fabric-0.18.0 lib/6.5.0.36/generated/azure_service_fabric/models/chaos_parameters_dictionary_item.rb
azure_service_fabric-0.17.2 lib/6.5.0.36/generated/azure_service_fabric/models/chaos_parameters_dictionary_item.rb