SyncRequest

@Serializable
data class SyncRequest<Upsert, Delete>(val since: String? = null, val limit: Int = SyncEngine.DEFAULT_LIMIT, val upserts: List<Upsert> = emptyList(), val deletes: List<Delete> = emptyList())

Wire request envelope for one sync pass against a single resource.

Constructors

Link copied to clipboard
constructor(since: String? = null, limit: Int = SyncEngine.DEFAULT_LIMIT, upserts: List<Upsert> = emptyList(), deletes: List<Delete> = emptyList())

Properties

Link copied to clipboard
@SerialName(value = "deletes")
val deletes: List<Delete>
Link copied to clipboard
@SerialName(value = "limit")
val limit: Int
Link copied to clipboard
@SerialName(value = "since")
val since: String?
Link copied to clipboard
@SerialName(value = "upserts")
val upserts: List<Upsert>