Radarr/NzbDrone.Core/Tv/Commands/RefreshSeriesCommand.cs

24 lines
544 B
C#
Raw Normal View History

2013-08-28 00:51:54 +00:00
using System;
using NzbDrone.Common;
using NzbDrone.Common.Messaging;
2013-06-03 05:39:42 +00:00
namespace NzbDrone.Core.Tv.Commands
{
public class RefreshSeriesCommand : ICommand
{
2013-08-28 00:51:54 +00:00
public String CommandId { get; set; }
2013-06-03 05:39:42 +00:00
public int? SeriesId { get; private set; }
2013-08-28 00:51:54 +00:00
public RefreshSeriesCommand()
{
CommandId = HashUtil.GenerateCommandId();
}
2013-06-03 05:39:42 +00:00
public RefreshSeriesCommand(int? seriesId)
{
2013-08-28 00:51:54 +00:00
CommandId = HashUtil.GenerateCommandId();
2013-06-03 05:39:42 +00:00
SeriesId = seriesId;
}
}
}