Class EventTemplate
- java.lang.Object
-
- io.github.ma1uta.matrix.server.model.federation.EventTemplate
-
public class EventTemplate extends Object
Event Template.
-
-
Constructor Summary
Constructors Constructor Description EventTemplate()
-
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 resident homeserver.
-
originServerTs
private Long originServerTs
Required. A timestamp added by the resident 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)
-
-