module MobileCenterApi
  module Models
    #
    # The source repository
    #
    class SourceRepository
      # @return [String] The repository name
      attr_accessor :name

      # @return URL used to clone the repository
      attr_accessor :clone_url


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