lidarr/src/NzbDrone.Core/Tv/Commands/RefreshSeriesCommand.cs
2016-12-21 20:38:37 -08:00

22 lines
No EOL
482 B
C#

using NzbDrone.Core.Messaging.Commands;
namespace NzbDrone.Core.Tv.Commands
{
public class RefreshSeriesCommand : Command
{
public int? SeriesId { get; set; }
public RefreshSeriesCommand()
{
}
public RefreshSeriesCommand(int? seriesId)
{
SeriesId = seriesId;
}
public override bool SendUpdatesToClient => true;
public override bool UpdateScheduledTask => !SeriesId.HasValue;
}
}