Class FindCommunitiesRequest.Builder
Object
Builder
- Enclosing class:
FindCommunitiesRequest
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuild()
but()
Deprecated.This method will be removed in the future.excludeMeta
(boolean excludeMeta) limit
(int limit) nameMatchMode
(MatchMode nameMatchMode) offset
(int offset) Deprecated, for removal: This API element is subject to removal in a future version.Use cursor pagination.sortField
(FindCommunitiesRequest.SortField sortField) toString()
-
Field Details
-
offset
Deprecated, for removal: This API element is subject to removal in a future version.Use cursor pagination. -
limit
Deprecated.This field will become private in the next major release.
-
-
Method Details
-
offset
Deprecated, for removal: This API element is subject to removal in a future version.Use cursor pagination. -
limit
-
but
Deprecated.This method will be removed in the future. Please, useFindCommunitiesRequest.builder()
Clone method for this Builder. -
cursor
- Parameters:
cursor
- Cursor for the current page of results. To retrieve the first page with cursor pagination you need to pass this parameter with an empty value (must be non-null). For the next pages, the value must be taken from the response (nextCursor
property).- Returns:
this
.
-
name
- Parameters:
name
- The name of the community to search for.- Returns:
this
.
-
nameMatchMode
- Parameters:
nameMatchMode
- The match mode used to comparename
. If the match mode isEXACT
the search is case-sensitive, otherwise the search is case-insensitive." When omitted, the nameMatchMode defaults toANYWHERE
.- Returns:
this
.
-
parentId
- Parameters:
parentId
- The ID of the parent community to find the communities in.- Returns:
this
.
-
excludeMeta
- Parameters:
excludeMeta
- The exclude meta flag. If this is set to true then the meta communities will not be returned (meta communities are i.e. communities not created manually by the user). When omitted, the excludeMeta flag defaults totrue
.- Returns:
this
.
-
sortField
- Parameters:
sortField
- The field on which the results are sorted. When omitted, the sortField defaults toNAME
.- Returns:
this
.
-
sortOrder
- Parameters:
sortOrder
- The sorting order. When omitted, the sortOrder defaults toASC
(ascending).- Returns:
this
.
-
build
-
toString
-