Response

@Serializable
data class Response(val devices: Set<GetDevices.Response.UserDevice>, val masterKey: SignedCrossSigningKeys? = null, val selfSigningKey: SignedCrossSigningKeys? = null, val streamId: Long, val userId: UserId)

Constructors

Link copied to clipboard
constructor(devices: Set<GetDevices.Response.UserDevice>, masterKey: SignedCrossSigningKeys? = null, selfSigningKey: SignedCrossSigningKeys? = null, streamId: Long, userId: UserId)

Types

Link copied to clipboard
@Serializable
data class UserDevice(val deviceDisplayName: String? = null, val deviceId: String, val keys: SignedDeviceKeys)

Properties

Link copied to clipboard
@SerialName(value = "devices")
val devices: Set<GetDevices.Response.UserDevice>
Link copied to clipboard
@SerialName(value = "master_key")
val masterKey: SignedCrossSigningKeys?
Link copied to clipboard
@SerialName(value = "self_signing_key")
val selfSigningKey: SignedCrossSigningKeys?
Link copied to clipboard
@SerialName(value = "stream_id")
val streamId: Long
Link copied to clipboard
@SerialName(value = "user_id")
val userId: UserId