Class SendRequest
- java.lang.Object
-
- io.github.ma1uta.matrix.server.model.federation.SendRequest
-
public class SendRequest extends Object
JSON request of the send_join/send_leave requests.
-
-
Constructor Summary
Constructors Constructor Description SendRequest()
-
Method Summary
Modifier and Type Method Description RoomMemberContent
getContent()
String
getOrigin()
Long
getOriginServerTs()
String
getSender()
String
getStateKey()
String
getType()
void
setContent(RoomMemberContent content)
void
setOrigin(String origin)
void
setOriginServerTs(Long originServerTs)
void
setSender(String sender)
void
setStateKey(String stateKey)
void
setType(String type)
-
-
-
Field Detail
-
sender
private String sender
Required. The user ID of the joining member.
-
origin
private String origin
Required. The name of the joining homeserver.
-
originServerTs
private Long originServerTs
Required. A timestamp added by the joining homeserver.
-
type
private String type
Required. The value m.room.member.
-
stateKey
private String stateKey
Required. The user ID of the joining member.
-
content
private RoomMemberContent content
Required. The content of the event.
-
-
Method Detail
-
getSender
public String getSender()
-
setSender
public void setSender(String sender)
-
getOrigin
public String getOrigin()
-
setOrigin
public void setOrigin(String origin)
-
getOriginServerTs
public Long getOriginServerTs()
-
setOriginServerTs
public void setOriginServerTs(Long originServerTs)
-
getType
public String getType()
-
setType
public void setType(String type)
-
getStateKey
public String getStateKey()
-
setStateKey
public void setStateKey(String stateKey)
-
getContent
public RoomMemberContent getContent()
-
setContent
public void setContent(RoomMemberContent content)
-
-