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.
Readarr/src/NzbDrone.Core/Books/Commands/RefreshBookCommand.cs

25 lines
533 B

using NzbDrone.Core.Messaging.Commands;
namespace NzbDrone.Core.Books.Commands
{
public class RefreshBookCommand : Command
{
public int? BookId { get; set; }
public RefreshBookCommand()
{
}
public RefreshBookCommand(int? bookId)
{
BookId = bookId;
}
public override bool SendUpdatesToClient => true;
public override bool UpdateScheduledTask => !BookId.HasValue;
public override string CompletionMessage => "Completed";
}
}