
com.slack.api.methods.request.users.UsersListRequest Maven / Gradle / Ivy
package com.slack.api.methods.request.users;
import com.slack.api.methods.SlackApiRequest;
import lombok.Builder;
import lombok.Data;
/**
* https://api.slack.com/methods/users.list
*/
@Data
@Builder
public class UsersListRequest implements SlackApiRequest {
/**
* Authentication token. Requires scope: `users:read`
*/
private String token;
/**
* 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.
*/
private String cursor;
/**
* 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.
*/
private Integer limit;
/**
* Set this to `true` to receive the locale for users. Defaults to `false`
*/
private boolean includeLocale;
/**
* Deprecated. Whether to include presence data in the output.
* Defaults to `false`. Setting this to `true` reduces performance, especially with large teams.
*/
@Deprecated
private boolean presence;
/**
* Required for org-wide apps.
*/
private String teamId;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy