SyncResponse

@JsonClass(generateAdapter = true)
data class SyncResponse(    @Json(name = "account_data") val accountData: UserAccountDataSync? = null,     @Json(name = "next_batch") val nextBatch: String? = null,     @Json(name = "presence") val presence: PresenceSyncResponse? = null,     @Json(name = "to_device") val toDevice: ToDeviceSyncResponse? = null,     @Json(name = "rooms") val rooms: RoomsSyncResponse? = null,     @Json(name = "device_lists") val deviceLists: DeviceListResponse? = null,     @Json(name = "device_one_time_keys_count") val deviceOneTimeKeysCount: DeviceOneTimeKeysCountSyncResponse? = null,     @Json(name = "org.matrix.msc2732.device_unused_fallback_key_types") val devDeviceUnusedFallbackKeyTypes: List<String>? = null,     @Json(name = "device_unused_fallback_key_types") val stableDeviceUnusedFallbackKeyTypes: List<String>? = null)

Constructors

Link copied to clipboard
fun SyncResponse(    @Json(name = "account_data") accountData: UserAccountDataSync? = null,     @Json(name = "next_batch") nextBatch: String? = null,     @Json(name = "presence") presence: PresenceSyncResponse? = null,     @Json(name = "to_device") toDevice: ToDeviceSyncResponse? = null,     @Json(name = "rooms") rooms: RoomsSyncResponse? = null,     @Json(name = "device_lists") deviceLists: DeviceListResponse? = null,     @Json(name = "device_one_time_keys_count") deviceOneTimeKeysCount: DeviceOneTimeKeysCountSyncResponse? = null,     @Json(name = "org.matrix.msc2732.device_unused_fallback_key_types") devDeviceUnusedFallbackKeyTypes: List<String>? = null,     @Json(name = "device_unused_fallback_key_types") stableDeviceUnusedFallbackKeyTypes: List<String>? = null)

Properties

Link copied to clipboard
val accountData: UserAccountDataSync? = null

The user private data.

Link copied to clipboard
val devDeviceUnusedFallbackKeyTypes: List<String>? = null

The key algorithms for which the server has an unused fallback key for the device. If the client wants the server to have a fallback key for a given key algorithm, but that algorithm is not listed in device_unused_fallback_key_types, the client will upload a new key.

Link copied to clipboard
val deviceLists: DeviceListResponse? = null

Devices list update.

Link copied to clipboard
val deviceOneTimeKeysCount: DeviceOneTimeKeysCountSyncResponse? = null

One time keys management.

Link copied to clipboard
val deviceUnusedFallbackKeyTypes: List<String>?
Link copied to clipboard
val nextBatch: String? = null

The opaque token for the end.

Link copied to clipboard
val presence: PresenceSyncResponse? = null

The updates to the presence status of other users.

Link copied to clipboard
val rooms: RoomsSyncResponse? = null

List of rooms.

Link copied to clipboard
val stableDeviceUnusedFallbackKeyTypes: List<String>? = null
Link copied to clipboard
val toDevice: ToDeviceSyncResponse? = null