# 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::V2018_06_01
  module Models
    #
    # Staging settings.
    #
    class StagingSettings

      include MsRestAzure

      # @return Unmatched properties from the message are deserialized this
      # collection
      attr_accessor :additional_properties

      # @return [LinkedServiceReference] Staging linked service reference.
      attr_accessor :linked_service_name

      # @return The path to storage for storing the interim data. Type: string
      # (or Expression with resultType string).
      attr_accessor :path

      # @return Specifies whether to use compression when copying data via an
      # interim staging. Default value is false. Type: boolean (or Expression
      # with resultType boolean).
      attr_accessor :enable_compression


      #
      # Mapper for StagingSettings class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'StagingSettings',
          type: {
            name: 'Composite',
            class_name: 'StagingSettings',
            model_properties: {
              additional_properties: {
                client_side_validation: true,
                required: false,
                type: {
                  name: 'Dictionary',
                  value: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'ObjectElementType',
                      type: {
                        name: 'Object'
                      }
                  }
                }
              },
              linked_service_name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'linkedServiceName',
                default_value: {},
                type: {
                  name: 'Composite',
                  class_name: 'LinkedServiceReference'
                }
              },
              path: {
                client_side_validation: true,
                required: false,
                serialized_name: 'path',
                type: {
                  name: 'Object'
                }
              },
              enable_compression: {
                client_side_validation: true,
                required: false,
                serialized_name: 'enableCompression',
                type: {
                  name: 'Object'
                }
              }
            }
          }
        }
      end
    end
  end
end
