ListOutput

data class ListOutput<T>(val items: List<T>, val nextToken: String?)

Representation of a generic type to wrap around a GraphQL list type. This is useful for exposing a list of items and nextToken to allow for pagination by calling for the next set of paginated results.

Constructors

Link copied to clipboard
constructor(items: List<T>, nextToken: String?)

Properties

Link copied to clipboard
val items: List<T>

List Items returned from a list query output.

Link copied to clipboard

String Generated next token to call for the next page of paginated results.