Class StateResponse
- java.lang.Object
-
- io.github.ma1uta.matrix.server.model.federation.StateResponse
-
public class StateResponse extends Object
Response of the state methods.
-
-
Field Summary
Fields Modifier and Type Field Description private List<PersistedDataUnit>
authChain
Required.private List<PersistedDataUnit>
pdus
Required.
-
Constructor Summary
Constructors Constructor Description StateResponse()
-
Method Summary
Modifier and Type Method Description List<PersistedDataUnit>
getAuthChain()
List<PersistedDataUnit>
getPdus()
void
setAuthChain(List<PersistedDataUnit> authChain)
void
setPdus(List<PersistedDataUnit> pdus)
-
-
-
Field Detail
-
authChain
private List<PersistedDataUnit> authChain
Required. The full set of authorization events that make up the state of the room, and their authorization events, recursively. Note that events have a different format depending on the room version - check the room version specification for precise event formats.
-
pdus
private List<PersistedDataUnit> pdus
Required. The fully resolved state of the room at the given event. Note that events have a different format depending on the room version - check the room version specification for precise event formats.
-
-
Method Detail
-
getAuthChain
public List<PersistedDataUnit> getAuthChain()
-
setAuthChain
public void setAuthChain(List<PersistedDataUnit> authChain)
-
getPdus
public List<PersistedDataUnit> getPdus()
-
setPdus
public void setPdus(List<PersistedDataUnit> pdus)
-
-