BulkResponse

@Serializable
data class BulkResponse(val took: Long, val errors: Boolean, val items: List<JsonObject>)

Constructors

Link copied to clipboard
constructor(took: Long, errors: Boolean, items: List<JsonObject>)

Types

Link copied to clipboard
@Serializable
data class ItemDetails(val index: String, val type: String?, val id: String, val version: Long?, val result: String?, val shards: Shards?, val seqNo: Long?, val primaryTerm: Long?, val status: Int, val error: BulkResponse.ItemError? = null, val source: JsonObject? = null)
Link copied to clipboard
@Serializable
data class ItemError(val type: String? = null, val reason: String? = null, val indexUuid: String? = null, val shard: String? = null, val index: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val items: List<JsonObject>
Link copied to clipboard
val took: Long