Class QueryResponse
- java.lang.Object
-
- io.github.ma1uta.matrix.client.model.encryption.QueryResponse
-
public class QueryResponse extends Object
Response format.
-
-
Field Summary
Fields Modifier and Type Field Description private Map<String,Map<String,DeviceKeys>>
deviceKeys
Information on the queried devices.private Map<String,Object>
failures
If any remote homeservers could not be reached, they are recorded here.
-
Constructor Summary
Constructors Constructor Description QueryResponse()
-
Method Summary
Modifier and Type Method Description Map<String,Map<String,DeviceKeys>>
getDeviceKeys()
Map<String,Object>
getFailures()
void
setDeviceKeys(Map<String,Map<String,DeviceKeys>> deviceKeys)
void
setFailures(Map<String,Object> failures)
-
-
-
Field Detail
-
failures
private Map<String,Object> failures
If any remote homeservers could not be reached, they are recorded here. The names of the properties are the names of the unreachable servers. If the homeserver could be reached, but the user or device was unknown, no failure is recorded. Instead, the corresponding user or device is missing from the device_keys result.
-
deviceKeys
private Map<String,Map<String,DeviceKeys>> deviceKeys
Information on the queried devices. A map from user ID, to a map from device ID to device information. For each device, the information returned will be the same as uploaded via /keys/upload, with the addition of an unsigned property.
-
-