# 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
    #
    # Represents mapping of host directories to directories in the container.
    #
    class LocalDataVolume

      include MsRestAzure

      # @return [String] The path on the host that is to be mounted as a
      # directory in the container.
      attr_accessor :host_path

      # @return [String] The container local path where the host directory is
      # mounted.
      attr_accessor :local_path


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