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/Notifications/Webhook/WebhookBook.cs

31 lines
755 B

using System;
using NzbDrone.Core.Books;
namespace NzbDrone.Core.Notifications.Webhook
{
public class WebhookBook
{
public WebhookBook()
{
}
public WebhookBook(Book book)
{
Id = book.Id;
GoodreadsId = book.ForeignBookId;
Title = book.Title;
ReleaseDate = book.ReleaseDate;
}
public int Id { get; set; }
public string GoodreadsId { get; set; }
public string Title { get; set; }
public DateTime? ReleaseDate { get; set; }
public string Quality { get; set; }
public int QualityVersion { get; set; }
public string ReleaseGroup { get; set; }
public string SceneName { get; set; }
}
}