# 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::V2018_03_01
  module Models
    #
    # Settings for the container to be downloaded.
    #
    class ContainerSettings

      include MsRestAzure

      # @return [ImageSourceRegistry] Registry to download the container from.
      attr_accessor :image_source_registry


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