#region ========================================================================= USING ===================================================================================== using Lumina.Domain.SharedKernel.Common.Enums.Common; using System; using System.Diagnostics; #endregion namespace Lumina.Contracts.Requests.MediaLibrary.WrittenContentLibrary.BookLibrary.Books; /// /// Represents a request to get the lightweight details of the books of a media library. /// /// The Id of the media library whose books are retrieved. Required. /// The page of results to retrieve. Optional. /// The maximum number of books to retrieve per page. Optional. /// The search term used to filter results. Optional. /// /// The alpha key used to filter the results by the first character of their title, for the alpha picker. Optional. /// Can be to disable alpha filtering, a single ASCII letter (case-insensitive) to filter by that letter, /// "#" to filter by titles whose first character is a digit, or "*" to filter by titles whose first character is neither a letter nor a digit. /// /// Whether the leading "The " prefix of a title should be ignored when computing the alpha key, or not. /// The name of the field by which to sort the results. Optional. /// The direction in which to sort the results. Optional. [DebuggerDisplay("LibraryId: {LibraryId}")] public record GetBooksLiteRequest( Guid LibraryId, int? CurrentPage, int? PerPage, string? SearchTerm, string? FilterAlphaKey, bool ShouldIgnoreThePrefixForAlphaPicker, string? SortBy, SortOrder? SortOrder );