# 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::Compute::Mgmt::V2020_09_30_preview
  module Models
    #
    # Specifies information about the Shared Gallery that you want to create or
    # update.
    #
    class SharedGallery < PirSharedGalleryResource

      include MsRestAzure


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