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>
aliases
Aliases of the room.private String
avatarUrl
The URL for the room's avatar, if one is set.private String
canonicalAlias
The canonical alias of the room, if any.private Boolean
guestCanJoin
Required.private String
name
The name of the room, if any.private Long
numJoinedMembers
Required.private String
roomId
Required.private String
topic
The topic of the room, if any.private Boolean
worldReadable
Required.
-
Constructor Summary
Constructors Constructor Description PublicRoomsChunk()
-
Method Summary
Modifier and Type Method Description List<String>
getAliases()
String
getAvatarUrl()
String
getCanonicalAlias()
Boolean
getGuestCanJoin()
String
getName()
Long
getNumJoinedMembers()
String
getRoomId()
String
getTopic()
Boolean
getWorldReadable()
void
setAliases(List<String> aliases)
void
setAvatarUrl(String avatarUrl)
void
setCanonicalAlias(String canonicalAlias)
void
setGuestCanJoin(Boolean guestCanJoin)
void
setName(String name)
void
setNumJoinedMembers(Long numJoinedMembers)
void
setRoomId(String roomId)
void
setTopic(String topic)
void
setWorldReadable(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)
-
-