Table of Contents

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
Inherited Members

Constructors

Page(IReadOnlyList<T>, string?)

One page of results.

public Page(IReadOnlyList<T> Items, string? NextPageToken)

Parameters

Items IReadOnlyList<T>

The items on this page.

NextPageToken string

The 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

bool

Items

The items on this page.

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

Property Value

IReadOnlyList<T>

NextPageToken

The token of the next page; null or empty on the last page.

public string? NextPageToken { get; init; }

Property Value

string