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/RefreshAuthorCommand.cs

27 lines
660 B

using NzbDrone.Core.Messaging.Commands;
namespace NzbDrone.Core.Books.Commands
{
public class RefreshAuthorCommand : Command
{
public int? AuthorId { get; set; }
public bool IsNewAuthor { get; set; }
public RefreshAuthorCommand()
{
}
public RefreshAuthorCommand(int? authorId, bool isNewAuthor = false)
{
AuthorId = authorId;
IsNewAuthor = isNewAuthor;
}
public override bool SendUpdatesToClient => true;
public override bool UpdateScheduledTask => !AuthorId.HasValue;
public override string CompletionMessage => "Completed";
}
}