﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright company="MirGames" file="ArchiveRepositoryCommand.cs">
// Copyright 2014 Bulat Aykaev
// This file is part of MirGames.
// MirGames is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
// MirGames is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with MirGames. If not, see http://www.gnu.org/licenses/.
// </copyright>
// --------------------------------------------------------------------------------------------------------------------
namespace MirGames.Services.Git.Public.Commands
{
    using System.IO;

    using MirGames.Infrastructure.Commands;

    /// <summary>
    /// Archives the repository.
    /// </summary>
    public sealed class ArchiveRepositoryCommand : Command
    {
        /// <summary>
        /// Gets or sets the repository identifier.
        /// </summary>
        public int RepositoryId { get; set; }

        /// <summary>
        /// Gets or sets the output stream.
        /// </summary>
        public Stream OutputStream { get; set; }
    }
}