Class DeprecatedRoomInfo
- java.lang.Object
-
- io.github.ma1uta.matrix.client.model.deprecatedsync.DeprecatedRoomInfo
-
@Deprecated public class DeprecatedRoomInfo extends Object
Deprecated.Deprecated room info.
-
-
Field Summary
Fields Modifier and Type Field Description private List<Event>
accountData
Deprecated.The private data that this user has attached to this room.private Event
invite
Deprecated.The invite event if membership is invite.private String
membership
Deprecated.Required.private Page<Event>
messages
Deprecated.The pagination chunk for this room.private String
roomId
Deprecated.Required.private List<Event>
state
Deprecated.If the user is a member of the room this will be the current state of the room as a list of events.private String
visibility
Deprecated.Whether this room is visible to the /publicRooms API or not."
-
Constructor Summary
Constructors Constructor Description DeprecatedRoomInfo()
Deprecated.
-
Method Summary
Modifier and Type Method Description List<Event>
getAccountData()
Deprecated.Event
getInvite()
Deprecated.String
getMembership()
Deprecated.Page<Event>
getMessages()
Deprecated.String
getRoomId()
Deprecated.List<Event>
getState()
Deprecated.String
getVisibility()
Deprecated.void
setAccountData(List<Event> accountData)
Deprecated.void
setInvite(Event invite)
Deprecated.void
setMembership(String membership)
Deprecated.void
setMessages(Page<Event> messages)
Deprecated.void
setRoomId(String roomId)
Deprecated.void
setState(List<Event> state)
Deprecated.void
setVisibility(String visibility)
Deprecated.
-
-
-
Field Detail
-
roomId
private String roomId
Deprecated.Required. The ID of this room.
-
membership
private String membership
Deprecated.Required. The user's membership state in this room. One of: ["invite", "join", "leave", "ban"]
-
invite
private Event invite
Deprecated.The invite event if membership is invite.
-
state
private List<Event> state
Deprecated.If the user is a member of the room this will be the current state of the room as a list of events. If the user has left the room this will be the state of the room when they left it.
-
visibility
private String visibility
Deprecated.Whether this room is visible to the /publicRooms API or not." One of: ["private", "public"].
-
-
Method Detail
-
getRoomId
public String getRoomId()
Deprecated.
-
setRoomId
public void setRoomId(String roomId)
Deprecated.
-
getMembership
public String getMembership()
Deprecated.
-
setMembership
public void setMembership(String membership)
Deprecated.
-
getInvite
public Event getInvite()
Deprecated.
-
setInvite
public void setInvite(Event invite)
Deprecated.
-
getVisibility
public String getVisibility()
Deprecated.
-
setVisibility
public void setVisibility(String visibility)
Deprecated.
-
-