Class UploadRequest
- java.lang.Object
-
- io.github.ma1uta.matrix.client.model.encryption.UploadRequest
-
public class UploadRequest extends Object
JSON body parameters for Publishes end-to-end encryption keys for the device.
-
-
Field Summary
Fields Modifier and Type Field Description private DeviceKeys
deviceKeys
Identity keys for the device.private Map<String,Object>
oneTimeKeys
One-time public keys for "pre-key" messages.
-
Constructor Summary
Constructors Constructor Description UploadRequest()
-
Method Summary
Modifier and Type Method Description DeviceKeys
getDeviceKeys()
Map<String,Object>
getOneTimeKeys()
void
setDeviceKeys(DeviceKeys deviceKeys)
void
setOneTimeKeys(Map<String,Object> oneTimeKeys)
-
-
-
Field Detail
-
deviceKeys
private DeviceKeys deviceKeys
Identity keys for the device. May be absent if no new identity keys are required.
-
-
Method Detail
-
getDeviceKeys
public DeviceKeys getDeviceKeys()
-
setDeviceKeys
public void setDeviceKeys(DeviceKeys deviceKeys)
-
-