Sha256: 91219a8b36811eb4b18f8c18650f36258cf429181bee6e04400ec5943344789c

Contents?: true

Size: 1.47 KB

Versions: 2

Compression:

Stored size: 1.47 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::V7_0_0_42
  module Models
    #
    # Describes an application parameter override to be applied when creating
    # or upgrading an application.
    #
    class ApplicationParameter

      include MsRestAzure

      # @return [String] The name of the parameter.
      attr_accessor :key

      # @return [String] The value of the parameter.
      attr_accessor :value


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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/7.0.0.42/generated/azure_service_fabric/models/application_parameter.rb
azure_service_fabric-0.18.0 lib/7.0.0.42/generated/azure_service_fabric/models/application_parameter.rb