Class PublicRoomsChunk


  • public class PublicRoomsChunk
    extends Object
    Public rooms chunk.
    • Field Detail

      • aliases

        private List<String> aliases
        Aliases of the room. May be empty.
      • 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.
    • Constructor Detail

      • PublicRoomsChunk

        public PublicRoomsChunk()
    • Method Detail

      • setAliases

        public void setAliases​(List<String> aliases)
      • 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)