You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
554 B
25 lines
554 B
using NzbDrone.Core.Messaging.Commands;
|
|
|
|
namespace NzbDrone.Core.ImportLists
|
|
{
|
|
public class ImportListSyncCommand : Command
|
|
{
|
|
public int? DefinitionId { get; set; }
|
|
|
|
public ImportListSyncCommand()
|
|
{
|
|
}
|
|
|
|
public ImportListSyncCommand(int? definition)
|
|
{
|
|
DefinitionId = definition;
|
|
}
|
|
|
|
public override bool SendUpdatesToClient => true;
|
|
|
|
public override bool IsTypeExclusive => true;
|
|
|
|
public override bool UpdateScheduledTask => !DefinitionId.HasValue;
|
|
}
|
|
}
|