Class JoinedRoom
- java.lang.Object
-
- io.github.ma1uta.matrix.client.model.sync.JoinedRoom
-
public class JoinedRoom extends Object
Joined room.
-
-
Field Summary
Fields Modifier and Type Field Description private AccountData
accountData
The private data that this user has attached to this room.private Ephemeral
ephemeral
The ephemeral events in the room that aren't recorded in the timeline or state of the room. e.g. typing.private State
state
Updates to the state, between the time indicated by the since parameter, and the start of the timeline (or all state up to the start of the timeline, if since is not given, or full_state is true).private RoomSummary
summary
Information about the room which clients may need to correctly render it to users.private Timeline
timeline
The timeline of messages and state changes in the room.private UnreadNotificationCounts
unreadNotifications
Counts of unread notifications for this room.
-
Constructor Summary
Constructors Constructor Description JoinedRoom()
-
Method Summary
Modifier and Type Method Description AccountData
getAccountData()
Ephemeral
getEphemeral()
State
getState()
RoomSummary
getSummary()
Timeline
getTimeline()
UnreadNotificationCounts
getUnreadNotifications()
void
setAccountData(AccountData accountData)
void
setEphemeral(Ephemeral ephemeral)
void
setState(State state)
void
setSummary(RoomSummary summary)
void
setTimeline(Timeline timeline)
void
setUnreadNotifications(UnreadNotificationCounts unreadNotifications)
-
-
-
Field Detail
-
summary
private RoomSummary summary
Information about the room which clients may need to correctly render it to users.
-
state
private State state
Updates to the state, between the time indicated by the since parameter, and the start of the timeline (or all state up to the start of the timeline, if since is not given, or full_state is true).
-
timeline
private Timeline timeline
The timeline of messages and state changes in the room.
-
ephemeral
private Ephemeral ephemeral
The ephemeral events in the room that aren't recorded in the timeline or state of the room. e.g. typing.
-
accountData
private AccountData accountData
The private data that this user has attached to this room.
-
unreadNotifications
private UnreadNotificationCounts unreadNotifications
Counts of unread notifications for this room.
-
-
Method Detail
-
getSummary
public RoomSummary getSummary()
-
setSummary
public void setSummary(RoomSummary summary)
-
getState
public State getState()
-
setState
public void setState(State state)
-
getTimeline
public Timeline getTimeline()
-
setTimeline
public void setTimeline(Timeline timeline)
-
getEphemeral
public Ephemeral getEphemeral()
-
setEphemeral
public void setEphemeral(Ephemeral ephemeral)
-
getAccountData
public AccountData getAccountData()
-
setAccountData
public void setAccountData(AccountData accountData)
-
getUnreadNotifications
public UnreadNotificationCounts getUnreadNotifications()
-
setUnreadNotifications
public void setUnreadNotifications(UnreadNotificationCounts unreadNotifications)
-
-