using NzbDrone.Core.Messaging.Commands;

namespace NzbDrone.Core.Tv.Commands
{
    public class RefreshMovieCommand : Command
    {
        public int? MovieId { get; set; }

        public RefreshMovieCommand()
        {
        }

        public RefreshMovieCommand(int? movieId)
        {
            MovieId = movieId;
        }

        public override bool SendUpdatesToClient => true;

        public override bool UpdateScheduledTask => !MovieId.HasValue;
    }
}