Kavita/API/DTOs/OPDS/Requests/OpdsItemsFromCompoundEntityIdsRequest.cs
Joe Milazzo a7859e1a86
OPDS Performance Enhancements (#4332)
Co-authored-by: Amelia <77553571+Fesaa@users.noreply.github.com>
2026-01-08 07:25:05 -08:00

22 lines
779 B
C#

using API.Entities.Enums.UserPreferences;
namespace API.DTOs.OPDS.Requests;
/// <summary>
/// A special case for dealing with lower level entities (volume/chapter) which need higher level entity ids
/// </summary>
/// <remarks>Not all variables will always be used. Implementation will use</remarks>
public sealed record OpdsItemsFromCompoundEntityIdsRequest : IOpdsRequest, IOpdsPagination
{
public string ApiKey { get; init; }
public string Prefix { get; init; }
public string BaseUrl { get; init; }
public int UserId { get; init; }
public AppUserOpdsPreferences Preferences { get; init; }
public int PageNumber { get; init; }
public int SeriesId { get; init; }
public int VolumeId { get; init; }
public int ChapterId { get; init; }
}