Batch

@Serializable
@SerialName(value = "Batch")
data class Batch(val dataIds: SerializableImmutableList<String>, val allowMissingData: Boolean, val unwrapValuesToList: Boolean) : AccessModeSchema

Several entries by id.

Constructors

Link copied to clipboard
constructor(dataIds: SerializableImmutableList<String>, allowMissingData: Boolean, unwrapValuesToList: Boolean)

Properties

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

(read only) when false, a missing id fails the whole GetData with DataNotFoundException; when true, a missing id is simply omitted from the result.

Link copied to clipboard
@SerialName(value = "dataIds")
val dataIds: SerializableImmutableList<String>

ids of the entries to read/delete.

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

(read only) when true, the result is a plain List of values in dataIds order instead of a Map keyed by id — only takes effect when no other reading in the same GetData call resolves to a map shape.