DocumentUpdateResponse

@Serializable
data class DocumentUpdateResponse(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 get: DocumentUpdateResponse.UpdatedSourceInformation? = null)

Constructors

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

Types

Link copied to clipboard
@Serializable
data class UpdatedSourceInformation(val source: JsonObject?, val seqNo: Int?, val primaryTerm: Int?, val version: Long?, val found: Boolean, val routing: String? = null)

Properties

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