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
533 B
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";
|
|
}
|
|
}
|