Table of Contents

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

T

The 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

Items IReadOnlyList<T>

The items on the current page.

CursorInfo CursorResultInfo

The 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

CursorResultInfo

Items

The items on the current page.

public IReadOnlyList<T> Items { get; init; }

Property Value

IReadOnlyList<T>