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
TThe 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
ItemsIReadOnlyList<T>The items on the current page.
PageInfoResultInfoThe pagination metadata for the current page.
Properties
Items
The items on the current page.
public IReadOnlyList<T> Items { get; init; }
Property Value
PageInfo
The pagination metadata for the current page.
public ResultInfo? PageInfo { get; init; }