Class UserDevice
- java.lang.Object
-
- io.github.ma1uta.matrix.server.model.federation.UserDevice
-
public class UserDevice extends Object
User device.
-
-
Field Summary
Fields Modifier and Type Field Description private String
deviceDisplayName
Optional display name for the device.private String
deviceId
Required.private DeviceKeys
keys
Required.
-
Constructor Summary
Constructors Constructor Description UserDevice()
-
Method Summary
Modifier and Type Method Description String
getDeviceDisplayName()
String
getDeviceId()
DeviceKeys
getKeys()
void
setDeviceDisplayName(String deviceDisplayName)
void
setDeviceId(String deviceId)
void
setKeys(DeviceKeys keys)
-
-
-
Field Detail
-
deviceId
private String deviceId
Required. The device ID.
-
keys
private DeviceKeys keys
Required. Identity keys for the device.
-
deviceDisplayName
private String deviceDisplayName
Optional display name for the device.
-
-
Method Detail
-
getDeviceId
public String getDeviceId()
-
setDeviceId
public void setDeviceId(String deviceId)
-
getKeys
public DeviceKeys getKeys()
-
setKeys
public void setKeys(DeviceKeys keys)
-
getDeviceDisplayName
public String getDeviceDisplayName()
-
setDeviceDisplayName
public void setDeviceDisplayName(String deviceDisplayName)
-
-