VoiceConsentPage

@Serializable
data class VoiceConsentPage(val data: List<VoiceConsent>, val hasMore: Boolean, val firstId: String? = null, val lastId: String? = null, val objectType: String = "list") : List<VoiceConsent>

A cursor page of consent recordings, retaining the response envelope.

Constructors

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

Properties

Link copied to clipboard

Recordings in this page.

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

First recording identifier, when supplied.

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

Whether more recordings can be requested.

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

Last recording identifier; pass this as the next request's after cursor.

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

API object discriminator.

Link copied to clipboard
open override val size: Int

Functions

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