Skip to main content

GraphQlPaginationFilter

Namespace: IotaSdk

Pagination options for querying the GraphQL server. It defaults to forward pagination with the GraphQL server's max page size.

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

Inheritance Object → GraphQlPaginationFilter
Implements IEquatable<GraphQlPaginationFilter>
Attributes NullableContextAttribute, NullableAttribute

Properties​

Direction​

The direction of pagination.

public GraphQlDirection Direction { get; init; }

Property Value​

GraphQlDirection

Cursor​

An opaque cursor used for pagination.

public string? Cursor { get; init; }

Property Value​

String

Limit​

The maximum number of items to return. If this is omitted, it will lazily query the service configuration for the max page size.

public int? Limit { get; init; }

Property Value​

Int32?

Constructors​

GraphQlPaginationFilter(GraphQlDirection, String, Int32?)​

Pagination options for querying the GraphQL server. It defaults to forward pagination with the GraphQL server's max page size.

public GraphQlPaginationFilter(GraphQlDirection Direction, string? Cursor = null, int? Limit = null)

Parameters​

Direction GraphQlDirection
The direction of pagination.

Cursor String?
An opaque cursor used for pagination.

Limit Int32?
The maximum number of items to return. If this is omitted, it will lazily query the service configuration for the max page size.