#region ========================================================================= USING ===================================================================================== using Lumina.Contracts.DTO.MediaContributors; using Lumina.Contracts.DTO.MediaLibrary.WrittenContentLibrary; using Lumina.Contracts.DTO.MediaLibrary.WrittenContentLibrary.BookLibrary; using Lumina.Domain.SharedKernel.Common.Enums.BookLibrary; using System; using System.Collections.Generic; using System.Diagnostics; #endregion namespace Lumina.Contracts.Responses.MediaLibrary.WrittenContentLibrary.BookLibrary.Books; /// /// Represents a book response. /// /// The id of the book. /// The Id of the media library this book belongs to. /// The file system path of the book. /// Written content metadata of the book. /// The format of the book (e.g., Hardcover, Paperback), if applicable. /// The edition of the book, if applicable. /// The volume or book number in the series, if applicable. /// The series name, if the book is part of a series. /// The ASIN (Amazon Standard Identification Number) of the book, if applicable. /// The Goodreads ID of the book, if applicable. /// The Library of Congress Control Number (LCCN) of the book, if applicable. /// The OCLC Number (WorldCat identifier) of the book, if applicable. /// The Open Library ID of the book, if applicable. /// The LibraryThing ID of the book, if applicable. /// The Google Books ID of the book, if applicable. /// The Barnes & Noble ID of the book, if applicable. /// The Apple Books ID of the book, if applicable. /// The list of ISBN (International Standard Book Number) of the book. /// The list of media contributors (actors, directors, etc) starring in this book. /// The list of ratings for this book. /// The status of the metadata enrichment of the book. /// The date and time when the metadata of the book was last enriched, if applicable. /// The name of the plugin that enriched the metadata of the book, if applicable. /// The date and time when the book was created. /// The optional date and time when the book was updated. /// The path of the cover image of the book, if available. [DebuggerDisplay("Title: {Metadata.Title}")] public record BookResponse( Guid Id, Guid LibraryId, string Path, WrittenContentMetadataDto Metadata, BookFormat? Format, string? Edition, float? VolumeNumber, BookSeriesDto? Series, string? ASIN, string? GoodreadsId, string? LCCN, string? OCLCNumber, string? OpenLibraryId, string? LibraryThingId, string? GoogleBooksId, string? BarnesAndNobleId, string? AppleBooksId, List? ISBNs, List? Contributors, List? Ratings, MetadataStatus MetadataStatus, DateTime? LastMetadataUpdateUtc, string? MetadataProvider, DateTime CreatedOnUtc, DateTime? UpdatedOnUtc, string? CoverPath );