sonarr-repo-only/NzbDrone.Core/Tv/Commands/RefreshSeriesCommand.cs

24 lines
544 B
C#

using System;
using NzbDrone.Common;
using NzbDrone.Common.Messaging;
namespace NzbDrone.Core.Tv.Commands
{
public class RefreshSeriesCommand : ICommand
{
public String CommandId { get; set; }
public int? SeriesId { get; private set; }
public RefreshSeriesCommand()
{
CommandId = HashUtil.GenerateCommandId();
}
public RefreshSeriesCommand(int? seriesId)
{
CommandId = HashUtil.GenerateCommandId();
SeriesId = seriesId;
}
}
}