Class CursorPaginatedResult<T>
- Namespace
- Cloudflare.NET.Core.Models
- Assembly
- Cloudflare.NET.dll
Represents the result of a single page from a cursor-based paginated API call.
public sealed record CursorPaginatedResult<T> : IEquatable<CursorPaginatedResult<T>>
Type Parameters
TThe type of the items in the result set.
- Inheritance
-
CursorPaginatedResult<T>
- Implements
- Inherited Members
Constructors
CursorPaginatedResult(IReadOnlyList<T>, CursorResultInfo?)
Represents the result of a single page from a cursor-based paginated API call.
public CursorPaginatedResult(IReadOnlyList<T> Items, CursorResultInfo? CursorInfo)
Parameters
ItemsIReadOnlyList<T>The items on the current page.
CursorInfoCursorResultInfoThe pagination metadata, including the cursor for the next page.
Properties
CursorInfo
The pagination metadata, including the cursor for the next page.
public CursorResultInfo? CursorInfo { get; init; }
Property Value
Items
The items on the current page.
public IReadOnlyList<T> Items { get; init; }