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