SetDehydratedDevice

@Serializable
data class SetDehydratedDevice(val asUserId: UserId? = null) : MatrixEndpoint<SetDehydratedDevice.Request, SetDehydratedDevice.Response>

See also

Constructors

Link copied to clipboard
constructor(asUserId: UserId? = null)

Types

Link copied to clipboard
@Serializable
data class Request(val deviceId: String, val deviceData: DehydratedDeviceData, val deviceKeys: SignedDeviceKeys, val oneTimeKeys: Keys? = null, val fallbackKeys: Keys? = null, val initialDeviceDisplayName: String? = null)
Link copied to clipboard
@Serializable
data class Response(val deviceId: String)

Properties

Link copied to clipboard
@SerialName(value = "user_id")
val asUserId: UserId? = null
Link copied to clipboard
open val requestContentType: ContentType?
Link copied to clipboard
open val responseContentType: ContentType?

Functions

Link copied to clipboard
open fun requestSerializerBuilder(mappings: EventContentSerializerMappings, json: Json, value: SetDehydratedDevice.Request?): KSerializer<SetDehydratedDevice.Request>?
Link copied to clipboard
open fun responseSerializerBuilder(mappings: EventContentSerializerMappings, json: Json, value: SetDehydratedDevice.Response?): KSerializer<SetDehydratedDevice.Response>?