# 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::BatchAI::Mgmt::V2017_09_01_preview
  module Models
    #
    # Input directory for the job.
    #
    class InputDirectory

      include MsRestAzure

      # @return [String] The id for the input directory. It will be available
      # for the job as an environment variable under AZ_BATCHAI_INPUT_id. The
      # service will also provide the following  environment variable:
      # AZ_BATCHAI_PREV_OUTPUT_Name. The value of the variable will be
      # populated if the job is being retried after a previous failure,
      # otherwise it will be set to nothing.
      attr_accessor :id

      # @return [String] The path to the input directory.
      attr_accessor :path


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