mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-10-28 10:48:49 -04:00
18 lines
476 B
C#
18 lines
476 B
C#
namespace Cleanuparr.Domain.Entities.Arr;
|
|
|
|
/// <summary>
|
|
/// One page of a paged *arr list response (e.g. wanted/missing, wanted/cutoff).
|
|
/// </summary>
|
|
public record ArrPagedResponse<T>
|
|
{
|
|
/// <summary>
|
|
/// The number of items in the list, on this page and on the other pages.
|
|
/// </summary>
|
|
public int TotalRecords { get; init; }
|
|
|
|
/// <summary>
|
|
/// The items on this page.
|
|
/// </summary>
|
|
public IReadOnlyList<T> Records { get; init; } = [];
|
|
}
|