# 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
    #
    # Redirect incompatible row settings
    #
    class RedirectIncompatibleRowSettings

      include MsRestAzure

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

      # @return Name of the Azure Storage, Storage SAS, or Azure Data Lake
      # Store linked service used for redirecting incompatible row. Must be
      # specified if redirectIncompatibleRowSettings is specified. Type: string
      # (or Expression with resultType string).
      attr_accessor :linked_service_name

      # @return The path for storing the redirect incompatible row data. Type:
      # string (or Expression with resultType string).
      attr_accessor :path


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