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>accountDataDeprecated.The private data that this user has attached to this room.private EventinviteDeprecated.The invite event if membership is invite.private StringmembershipDeprecated.Required.private Page<Event>messagesDeprecated.The pagination chunk for this room.private StringroomIdDeprecated.Required.private List<Event>stateDeprecated.If the user is a member of the room this will be the current state of the room as a list of events.private StringvisibilityDeprecated.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.EventgetInvite()Deprecated.StringgetMembership()Deprecated.Page<Event>getMessages()Deprecated.StringgetRoomId()Deprecated.List<Event>getState()Deprecated.StringgetVisibility()Deprecated.voidsetAccountData(List<Event> accountData)Deprecated.voidsetInvite(Event invite)Deprecated.voidsetMembership(String membership)Deprecated.voidsetMessages(Page<Event> messages)Deprecated.voidsetRoomId(String roomId)Deprecated.voidsetState(List<Event> state)Deprecated.voidsetVisibility(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.
-
-