KeysVersionResult

@JsonClass(generateAdapter = true)
data class KeysVersionResult(    @Json(name = "algorithm") val algorithm: String,     @Json(name = "auth_data") val authData: JsonDict,     @Json(name = "version") val version: String,     @Json(name = "etag") val hash: String,     @Json(name = "count") val count: Int) : KeysAlgorithmAndData

Constructors

Link copied to clipboard
fun KeysVersionResult(    @Json(name = "algorithm") algorithm: String,     @Json(name = "auth_data") authData: JsonDict,     @Json(name = "version") version: String,     @Json(name = "etag") hash: String,     @Json(name = "count") count: Int)

Functions

Link copied to clipboard
open fun getAuthDataAsMegolmBackupAuthData(): MegolmBackupAuthData?

Facility method to convert authData to a MegolmBackupAuthData object.

Properties

Link copied to clipboard
open override val algorithm: String

The algorithm used for storing backups. Currently, only "m.megolm_backup.v1.curve25519-aes-sha2" is defined

Link copied to clipboard
open override val authData: JsonDict

algorithm-dependent data, for "m.megolm_backup.v1.curve25519-aes-sha2".

Link copied to clipboard
val count: Int
Link copied to clipboard
val hash: String
Link copied to clipboard
val version: String