Class Invite
- java.lang.Object
-
- io.github.ma1uta.matrix.server.model.federation.Invite
-
public class Invite extends Object
Invitation.
Sends when the association between mxid and pair medium-address is validated.
-
-
Constructor Summary
Constructors Constructor Description Invite()
-
Method Summary
Modifier and Type Method Description String
getAddress()
String
getMedium()
String
getMxid()
String
getRoomId()
String
getSender()
Signed
getSigned()
void
setAddress(String address)
void
setMedium(String medium)
void
setMxid(String mxid)
void
setRoomId(String roomId)
void
setSender(String sender)
void
setSigned(Signed signed)
-
-
-
Field Detail
-
medium
private String medium
Required. The type of third party invite issues. Currently only "email" is used.
-
address
private String address
Required. The third party identifier that received the invite.
-
mxid
private String mxid
Required. The now-bound user ID that received the invite.
-
roomId
private String roomId
Required. The room ID the invite is valid for.
-
sender
private String sender
Required. The user ID that sent the invite.
-
signed
private Signed signed
Required. Signature from the identity server using a long-term private key.
-
-
Method Detail
-
getMedium
public String getMedium()
-
setMedium
public void setMedium(String medium)
-
getAddress
public String getAddress()
-
setAddress
public void setAddress(String address)
-
getMxid
public String getMxid()
-
setMxid
public void setMxid(String mxid)
-
getRoomId
public String getRoomId()
-
setRoomId
public void setRoomId(String roomId)
-
getSender
public String getSender()
-
setSender
public void setSender(String sender)
-
getSigned
public Signed getSigned()
-
setSigned
public void setSigned(Signed signed)
-
-