public class GetUsersQueryParams extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GetUsersQueryParams.Builder |
| Modifier and Type | Field and Description |
|---|---|
String |
externalAppUserId
Limits the results to app users with the given `external_app_user_id` value.
|
List<String> |
fields
A comma-separated list of attributes to include in the response.
|
String |
filterTerm
Limits the results to only users who's `name` or `login` start with the search term.
|
Long |
limit
The maximum number of items to return per page.
|
String |
marker
Defines the position marker at which to begin returning results.
|
Long |
offset
The offset of the item at which to begin the response.
|
Boolean |
usemarker
Specifies whether to use marker-based pagination instead of offset-based pagination.
|
EnumWrapper<GetUsersQueryParamsUserTypeField> |
userType
Limits the results to the kind of user specified.
|
| Modifier | Constructor and Description |
|---|---|
|
GetUsersQueryParams() |
protected |
GetUsersQueryParams(GetUsersQueryParams.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
String |
getExternalAppUserId() |
List<String> |
getFields() |
String |
getFilterTerm() |
Long |
getLimit() |
String |
getMarker() |
Long |
getOffset() |
Boolean |
getUsemarker() |
EnumWrapper<GetUsersQueryParamsUserTypeField> |
getUserType() |
public String filterTerm
For externally managed users, the search term needs to completely match the in order to find the user, and it will only return one user at a time.
public EnumWrapper<GetUsersQueryParamsUserTypeField> userType
* `all` returns every kind of user for whom the `login` or `name` partially matches the `filter_term`. It will only return an external user if the login matches the `filter_term` completely, and in that case it will only return that user. * `managed` returns all managed and app users for whom the `login` or `name` partially matches the `filter_term`. * `external` returns all external users for whom the `login` matches the `filter_term` exactly.
public String externalAppUserId
When creating an app user, an `external_app_user_id` value can be set. This value can then be used in this endpoint to find any users that match that `external_app_user_id` value.
public List<String> fields
Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
public Long offset
Queries with offset parameter value exceeding 10000 will be rejected with a 400 response.
public Boolean usemarker
By setting this value to true, the API will return a `marker` field that can be passed as a parameter to this endpoint to get the next page of the response.
public GetUsersQueryParams()
protected GetUsersQueryParams(GetUsersQueryParams.Builder builder)
public String getFilterTerm()
public EnumWrapper<GetUsersQueryParamsUserTypeField> getUserType()
public String getExternalAppUserId()
public Boolean getUsemarker()