# 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::DataFactory::Mgmt::V2017_09_01_preview
  module Models
    #
    # Definition of a single parameter for an entity.
    #
    class ParameterSpecification

      include MsRestAzure

      # @return [ParameterType] Parameter type. Possible values include:
      # 'Object', 'String', 'Int', 'Float', 'Bool', 'Array', 'SecureString'
      attr_accessor :type

      # @return Default value of parameter.
      attr_accessor :default_value


      #
      # Mapper for ParameterSpecification class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ParameterSpecification',
          type: {
            name: 'Composite',
            class_name: 'ParameterSpecification',
            model_properties: {
              type: {
                client_side_validation: true,
                required: true,
                serialized_name: 'type',
                type: {
                  name: 'String'
                }
              },
              default_value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'defaultValue',
                type: {
                  name: 'Object'
                }
              }
            }
          }
        }
      end
    end
  end
end
