Class UsersListRequest.UsersListRequestBuilder
java.lang.Object
com.slack.api.methods.request.users.UsersListRequest.UsersListRequestBuilder
- Enclosing class:
- UsersListRequest
public static class UsersListRequest.UsersListRequestBuilder extends Object
-
Method Summary
Modifier and Type Method Description UsersListRequestbuild()UsersListRequest.UsersListRequestBuildercursor(String cursor)Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`.UsersListRequest.UsersListRequestBuilderincludeLocale(boolean includeLocale)Set this to `true` to receive the locale for users.UsersListRequest.UsersListRequestBuilderlimit(Integer limit)The maximum number of items to return.UsersListRequest.UsersListRequestBuilderpresence(boolean presence)Deprecated.UsersListRequest.UsersListRequestBuilderteamId(String teamId)Required for org-wide apps.UsersListRequest.UsersListRequestBuildertoken(String token)Authentication token.StringtoString()
-
Method Details
-
token
Authentication token. Requires scope: `users:read`- Returns:
this.
-
cursor
Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first \"page\" of the collection. See [pagination](/docs/pagination) for more detail.- Returns:
this.
-
limit
The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached.- Returns:
this.
-
includeLocale
Set this to `true` to receive the locale for users. Defaults to `false`- Returns:
this.
-
presence
Deprecated.Deprecated. Whether to include presence data in the output. Defaults to `false`. Setting this to `true` reduces performance, especially with large teams.- Returns:
this.
-
teamId
Required for org-wide apps.- Returns:
this.
-
build
-
toString
-