Class PublicRoomsRequest


  • public class PublicRoomsRequest
    extends Object
    JSON body request.
    • Field Detail

      • limit

        private Long limit
        Limit the number of results returned.
      • since

        private String since
        A pagination token from a previous request, allowing clients to get the next (or previous) batch of rooms. The direction of pagination is specified solely by which token is supplied, rather than via an explicit flag.
      • includeAllNetworks

        private Boolean includeAllNetworks
        Whether or not to include all known networks/protocols from application services on the homeserver. Defaults to false.
      • thirdPartyInstanceId

        private String thirdPartyInstanceId
        The specific third party network/protocol to request from the homeserver. Can only be used if include_all_networks is false.
    • Constructor Detail

      • PublicRoomsRequest

        public PublicRoomsRequest()
    • Method Detail

      • getLimit

        public Long getLimit()
      • setLimit

        public void setLimit​(Long limit)
      • getSince

        public String getSince()
      • setSince

        public void setSince​(String since)
      • getIncludeAllNetworks

        public Boolean getIncludeAllNetworks()
      • setIncludeAllNetworks

        public void setIncludeAllNetworks​(Boolean includeAllNetworks)
      • getThirdPartyInstanceId

        public String getThirdPartyInstanceId()
      • setThirdPartyInstanceId

        public void setThirdPartyInstanceId​(String thirdPartyInstanceId)