matrix-sdk-android
androidJvm
matrix-sdk-android
/
org.matrix.android.sdk.api.session.crypto.model
/
RoomKeyRequestBody
Room
Key
Request
Body
@
JsonClass
(
generateAdapter
=
true
)
data
class
RoomKeyRequestBody
(
@
Json
(
name
=
"algorithm"
)
val
algorithm
:
String
?
=
null
,
@
Json
(
name
=
"room_id"
)
val
roomId
:
String
?
=
null
,
@
Json
(
name
=
"sender_key"
)
val
senderKey
:
String
?
=
null
,
@
Json
(
name
=
"session_id"
)
val
sessionId
:
String
?
=
null
)
Class representing an room key request body content.
Members
Constructors
Room
Key
Request
Body
Link copied to clipboard
constructor
(
@
Json
(
name
=
"algorithm"
)
algorithm
:
String
?
=
null
,
@
Json
(
name
=
"room_id"
)
roomId
:
String
?
=
null
,
@
Json
(
name
=
"sender_key"
)
senderKey
:
String
?
=
null
,
@
Json
(
name
=
"session_id"
)
sessionId
:
String
?
=
null
)
Types
Companion
Link copied to clipboard
object
Companion
Functions
to
Json
Link copied to clipboard
fun
toJson
(
)
:
String
Properties
algorithm
Link copied to clipboard
val
algorithm
:
String
?
=
null
room
Id
Link copied to clipboard
val
roomId
:
String
?
=
null
sender
Key
Link copied to clipboard
val
senderKey
:
String
?
=
null
session
Id
Link copied to clipboard
val
sessionId
:
String
?
=
null