Class MakeResponse
- java.lang.Object
-
- io.github.ma1uta.matrix.server.model.federation.MakeResponse
-
public class MakeResponse extends Object
Response of the make_join/make_leave requests.
-
-
Field Summary
Fields Modifier and Type Field Description private EventTemplate
event
An unsigned template event.private String
roomVersion
The version of the room where the server is trying to join.
-
Constructor Summary
Constructors Constructor Description MakeResponse()
-
Method Summary
Modifier and Type Method Description EventTemplate
getEvent()
String
getRoomVersion()
void
setEvent(EventTemplate event)
void
setRoomVersion(String roomVersion)
-
-
-
Field Detail
-
roomVersion
private String roomVersion
The version of the room where the server is trying to join. If not provided, the room version is assumed to be either "1" or "2".
-
event
private EventTemplate event
An unsigned template event. Note that events have a different format depending on the room version - check the room version specification for precise event formats.
-
-
Method Detail
-
getRoomVersion
public String getRoomVersion()
-
setRoomVersion
public void setRoomVersion(String roomVersion)
-
getEvent
public EventTemplate getEvent()
-
setEvent
public void setEvent(EventTemplate event)
-
-