# 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
    #
    # Skip error file.
    #
    class SkipErrorFile

      include MsRestAzure

      # @return Skip if file is deleted by other client during copy. Default is
      # true. Type: boolean (or Expression with resultType boolean).
      attr_accessor :file_missing

      # @return Skip if source/sink file changed by other concurrent write.
      # Default is false. Type: boolean (or Expression with resultType
      # boolean).
      attr_accessor :data_inconsistency


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