Class PublicRoomsChunk
- java.lang.Object
-
- io.github.ma1uta.matrix.client.model.room.PublicRoomsChunk
-
public class PublicRoomsChunk extends Object
Public rooms chunk.
-
-
Field Summary
Fields Modifier and Type Field Description private List<String>aliasesAliases of the room.private StringavatarUrlThe URL for the room's avatar, if one is set.private StringcanonicalAliasThe canonical alias of the room, if any.private BooleanguestCanJoinRequired.private StringnameThe name of the room, if any.private LongnumJoinedMembersRequired.private StringroomIdRequired.private StringtopicThe topic of the room, if any.private BooleanworldReadableRequired.
-
Constructor Summary
Constructors Constructor Description PublicRoomsChunk()
-
Method Summary
Modifier and Type Method Description List<String>getAliases()StringgetAvatarUrl()StringgetCanonicalAlias()BooleangetGuestCanJoin()StringgetName()LonggetNumJoinedMembers()StringgetRoomId()StringgetTopic()BooleangetWorldReadable()voidsetAliases(List<String> aliases)voidsetAvatarUrl(String avatarUrl)voidsetCanonicalAlias(String canonicalAlias)voidsetGuestCanJoin(Boolean guestCanJoin)voidsetName(String name)voidsetNumJoinedMembers(Long numJoinedMembers)voidsetRoomId(String roomId)voidsetTopic(String topic)voidsetWorldReadable(Boolean worldReadable)
-
-
-
Field Detail
-
canonicalAlias
private String canonicalAlias
The canonical alias of the room, if any.
-
name
private String name
The name of the room, if any.
-
numJoinedMembers
private Long numJoinedMembers
Required. The number of members joined to the room.
-
roomId
private String roomId
Required. The ID of the room.
-
topic
private String topic
The topic of the room, if any.
-
worldReadable
private Boolean worldReadable
Required. Whether the room may be viewed by guest users without joining.
-
guestCanJoin
private Boolean guestCanJoin
Required. Whether guest users may join the room and participate in it. If they can, they will be subject to ordinary power level rules like any other user.
-
avatarUrl
private String avatarUrl
The URL for the room's avatar, if one is set.
-
-
Method Detail
-
getCanonicalAlias
public String getCanonicalAlias()
-
setCanonicalAlias
public void setCanonicalAlias(String canonicalAlias)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getNumJoinedMembers
public Long getNumJoinedMembers()
-
setNumJoinedMembers
public void setNumJoinedMembers(Long numJoinedMembers)
-
getRoomId
public String getRoomId()
-
setRoomId
public void setRoomId(String roomId)
-
getTopic
public String getTopic()
-
setTopic
public void setTopic(String topic)
-
getWorldReadable
public Boolean getWorldReadable()
-
setWorldReadable
public void setWorldReadable(Boolean worldReadable)
-
getGuestCanJoin
public Boolean getGuestCanJoin()
-
setGuestCanJoin
public void setGuestCanJoin(Boolean guestCanJoin)
-
getAvatarUrl
public String getAvatarUrl()
-
setAvatarUrl
public void setAvatarUrl(String avatarUrl)
-
-