Skip to main content

PageInfo

Namespace: IotaSdk

Information about pagination in a connection.

public record class PageInfo : System.IEquatable`1[[IotaSdk.PageInfo, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance ObjectPageInfo
Implements IEquatable<PageInfo>
Attributes NullableContextAttribute, NullableAttribute

Properties

HasPreviousPage

When paginating backwards, are there more items?

public bool HasPreviousPage { get; init; }

Property Value

Boolean

HasNextPage

Are there more items when paginating forwards?

public bool HasNextPage { get; init; }

Property Value

Boolean

StartCursor

When paginating backwards, the cursor to continue.

public string? StartCursor { get; init; }

Property Value

String

EndCursor

When paginating forwards, the cursor to continue.

public string? EndCursor { get; init; }

Property Value

String

Constructors

PageInfo(Boolean, Boolean, String, String)

Information about pagination in a connection.

public PageInfo(bool HasPreviousPage, bool HasNextPage, string? StartCursor = null, string? EndCursor = null)

Parameters

HasPreviousPage Boolean
When paginating backwards, are there more items?

HasNextPage Boolean
Are there more items when paginating forwards?

StartCursor String?
When paginating backwards, the cursor to continue.

EndCursor String?
When paginating forwards, the cursor to continue.