AdministrationPage

@Serializable
data class AdministrationPage<T>(val data: List<T>, val hasMore: Boolean, val next: String? = null, val firstId: String? = null, val lastId: String? = null, val objectType: String? = null) : List<T>

A page of administration resources with either ID cursors or a next cursor.

Constructors

Link copied to clipboard
constructor(data: List<T>, hasMore: Boolean, next: String? = null, firstId: String? = null, lastId: String? = null, objectType: String? = null)

Properties

Link copied to clipboard
val data: List<T>

Resources in this page.

Link copied to clipboard
@SerialName(value = "first_id")
val firstId: String? = null

First id.

Link copied to clipboard
@SerialName(value = "has_more")
val hasMore: Boolean

Whether another page is available.

Link copied to clipboard
@SerialName(value = "last_id")
val lastId: String? = null

Last id.

Link copied to clipboard
val next: String? = null

Cursor supplied as after for the next page.

Link copied to clipboard
@SerialName(value = "object")
val objectType: String? = null

Object.

Link copied to clipboard
open override val size: Int

Functions

Link copied to clipboard
open operator override fun contains(element: T): Boolean
Link copied to clipboard
open override fun containsAll(elements: Collection<T>): Boolean
Link copied to clipboard
open operator override fun get(index: Int): T
Link copied to clipboard
open override fun indexOf(element: T): Int
Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
open operator override fun iterator(): Iterator<T>
Link copied to clipboard
open override fun lastIndexOf(element: T): Int
Link copied to clipboard
open override fun listIterator(): ListIterator<T>
open override fun listIterator(index: Int): ListIterator<T>
Link copied to clipboard
open override fun subList(fromIndex: Int, toIndex: Int): List<T>