Class Page<T>
- Namespace
- OpenShell
- Assembly
- OpenShell.Sdk.dll
One page of results.
public sealed record Page<T> : IEquatable<Page<T>>
Type Parameters
T
- Inheritance
-
Page<T>
- Implements
-
IEquatable<Page<T>>
- Inherited Members
Constructors
Page(IReadOnlyList<T>, string?)
One page of results.
public Page(IReadOnlyList<T> Items, string? NextPageToken)
Parameters
ItemsIReadOnlyList<T>The items on this page.
NextPageTokenstringThe token of the next page; null or empty on the last page.
Properties
HasMore
True when another page follows.
public bool HasMore { get; }
Property Value
Items
The items on this page.
public IReadOnlyList<T> Items { get; init; }
Property Value
NextPageToken
The token of the next page; null or empty on the last page.
public string? NextPageToken { get; init; }