Class PublicRoomsRequest
- java.lang.Object
-
- io.github.ma1uta.matrix.client.model.room.PublicRoomsRequest
-
public class PublicRoomsRequest extends Object
JSON body request.
-
-
Field Summary
Fields Modifier and Type Field Description private PublicRoomsFilter
filter
Filter to apply to the results.private Boolean
includeAllNetworks
Whether or not to include all known networks/protocols from application services on the homeserver.private Long
limit
Limit the number of results returned.private String
since
A pagination token from a previous request, allowing clients to get the next (or previous) batch of rooms.private String
thirdPartyInstanceId
The specific third party network/protocol to request from the homeserver.
-
Constructor Summary
Constructors Constructor Description PublicRoomsRequest()
-
Method Summary
Modifier and Type Method Description PublicRoomsFilter
getFilter()
Boolean
getIncludeAllNetworks()
Long
getLimit()
String
getSince()
String
getThirdPartyInstanceId()
void
setFilter(PublicRoomsFilter filter)
void
setIncludeAllNetworks(Boolean includeAllNetworks)
void
setLimit(Long limit)
void
setSince(String since)
void
setThirdPartyInstanceId(String thirdPartyInstanceId)
-
-
-
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.
-
filter
private PublicRoomsFilter filter
Filter to apply to the results.
-
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.
-
-
Method Detail
-
getLimit
public Long getLimit()
-
setLimit
public void setLimit(Long limit)
-
getSince
public String getSince()
-
setSince
public void setSince(String since)
-
getFilter
public PublicRoomsFilter getFilter()
-
setFilter
public void setFilter(PublicRoomsFilter filter)
-
getIncludeAllNetworks
public Boolean getIncludeAllNetworks()
-
setIncludeAllNetworks
public void setIncludeAllNetworks(Boolean includeAllNetworks)
-
getThirdPartyInstanceId
public String getThirdPartyInstanceId()
-
setThirdPartyInstanceId
public void setThirdPartyInstanceId(String thirdPartyInstanceId)
-
-