DocumentIndexResponse

@Serializable
data class DocumentIndexResponse(val index: String, val type: String?, val id: String, val version: Long, val result: String, val shards: Shards, val seqNo: Int, val primaryTerm: Int, val source: JsonObject? = null) : SourceInformation

Constructors

Link copied to clipboard
constructor(index: String, type: String?, id: String, version: Long, result: String, shards: Shards, seqNo: Int, primaryTerm: Int, source: JsonObject? = null)

Properties

Link copied to clipboard
@SerialName(value = "_id")
open override val id: String
Link copied to clipboard
@SerialName(value = "_index")
val index: String
Link copied to clipboard
@SerialName(value = "_primary_term")
open override val primaryTerm: Int
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "_seq_no")
open override val seqNo: Int
Link copied to clipboard
@SerialName(value = "_shards")
val shards: Shards
Link copied to clipboard
@SerialName(value = "_source")
open override val source: JsonObject? = null
Link copied to clipboard
@SerialName(value = "_type")
val type: String?
Link copied to clipboard
@SerialName(value = "_version")
open override val version: Long

Functions

Link copied to clipboard
inline fun <T> SourceInformation.document(json: Json = DEFAULT_JSON): T