Table of Contents

Class PagePaginatedResult<T>

Namespace
Cloudflare.NET.Core.Models
Assembly
Cloudflare.NET.dll

Represents the result of a single page from a page-based paginated API call.

public sealed record PagePaginatedResult<T> : IEquatable<PagePaginatedResult<T>>

Type Parameters

T

The type of the items in the result set.

Inheritance
PagePaginatedResult<T>
Implements
Inherited Members

Constructors

PagePaginatedResult(IReadOnlyList<T>, ResultInfo?)

Represents the result of a single page from a page-based paginated API call.

public PagePaginatedResult(IReadOnlyList<T> Items, ResultInfo? PageInfo)

Parameters

Items IReadOnlyList<T>

The items on the current page.

PageInfo ResultInfo

The pagination metadata for the current page.

Properties

Items

The items on the current page.

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

Property Value

IReadOnlyList<T>

PageInfo

The pagination metadata for the current page.

public ResultInfo? PageInfo { get; init; }

Property Value

ResultInfo