Class RoomStateResponse
- java.lang.Object
-
- io.github.ma1uta.matrix.server.model.federation.RoomStateResponse
-
public class RoomStateResponse extends Object
Room state response.
-
-
Field Summary
Fields Modifier and Type Field Description private List<PersistedDataUnit>
authChain
Required.private String
origin
Required.private List<PersistedDataUnit>
state
Required.
-
Constructor Summary
Constructors Constructor Description RoomStateResponse()
-
Method Summary
Modifier and Type Method Description List<PersistedDataUnit>
getAuthChain()
String
getOrigin()
List<PersistedDataUnit>
getState()
void
setAuthChain(List<PersistedDataUnit> authChain)
void
setOrigin(String origin)
void
setState(List<PersistedDataUnit> state)
-
-
-
Field Detail
-
origin
private String origin
Required. The resident server's DNS name.
-
authChain
private List<PersistedDataUnit> authChain
Required. The auth chain. Note that events have a different format depending on the room version - check the room version specification for precise event formats.
-
state
private List<PersistedDataUnit> state
Required. The room state. The event format varies depending on the room version - check the room version specification for precise event formats.
-
-
Method Detail
-
getOrigin
public String getOrigin()
-
setOrigin
public void setOrigin(String origin)
-
getAuthChain
public List<PersistedDataUnit> getAuthChain()
-
setAuthChain
public void setAuthChain(List<PersistedDataUnit> authChain)
-
getState
public List<PersistedDataUnit> getState()
-
setState
public void setState(List<PersistedDataUnit> state)
-
-