GetResult

open class GetResult

The result retrieving a full document.

Functions

contentAs
Link copied to clipboard
inline fun <T> contentAs(transcoder: Transcoder? = null): T
Returns the document content after transcoding it into the type specified by the type parameter.
toString
Link copied to clipboard
open override fun toString(): String

Properties

cas
Link copied to clipboard
val cas: Long
The Compare And Swap (CAS) value of the document at the time the content was retrieved.
content
Link copied to clipboard
val content: Content
The retrieved content.
expiry
Link copied to clipboard
val expiry: Expiry?
A null value means the expiry is unknown because the withExpiry argument was false when getting the document.
id
Link copied to clipboard
val id: String
The document ID of the retrieved document.

Inheritors

GetReplicaResult
Link copied to clipboard