Class UserListParams
-
- All Implemented Interfaces:
-
com.braintrustdata.api.core.Params
public final class UserListParams implements Params
List out all users. The users are sorted by creation date, with the most recently-created users coming first
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classUserListParams.BuilderA builder for UserListParams.
public final classUserListParams.EmailEmail of the user to search for. You may pass the param multiple times to filter for more than one email
public final classUserListParams.FamilyNameFamily name of the user to search for. You may pass the param multiple times to filter for more than one family name
public final classUserListParams.GivenNameGiven name of the user to search for. You may pass the param multiple times to filter for more than one given name
public final classUserListParams.IdsFilter search results to a particular set of object IDs. To specify a list of IDs, include the query param multiple times
-
Method Summary
Modifier and Type Method Description final Optional<UserListParams.Email>email()Email of the user to search for. final Optional<String>endingBefore()Pagination cursor id. final Optional<UserListParams.FamilyName>familyName()Family name of the user to search for. final Optional<UserListParams.GivenName>givenName()Given name of the user to search for. final Optional<UserListParams.Ids>ids()Filter search results to a particular set of object IDs. final Optional<Long>limit()Limit the number of objects to return final Optional<String>orgName()Filter search results to within a particular organization final Optional<String>startingAfter()Pagination cursor id. final Headers_additionalHeaders()final QueryParams_additionalQueryParams()Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. final UserListParams.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static UserListParamsnone()final static UserListParams.Builderbuilder()Returns a mutable builder for constructing an instance of UserListParams. -
-
Method Detail
-
email
final Optional<UserListParams.Email> email()
Email of the user to search for. You may pass the param multiple times to filter for more than one email
-
endingBefore
final Optional<String> endingBefore()
Pagination cursor id.
For example, if the initial item in the last page you fetched had an id of
foo, passending_before=footo fetch the previous page. Note: you may only pass one ofstarting_afterandending_before
-
familyName
final Optional<UserListParams.FamilyName> familyName()
Family name of the user to search for. You may pass the param multiple times to filter for more than one family name
-
givenName
final Optional<UserListParams.GivenName> givenName()
Given name of the user to search for. You may pass the param multiple times to filter for more than one given name
-
ids
final Optional<UserListParams.Ids> ids()
Filter search results to a particular set of object IDs. To specify a list of IDs, include the query param multiple times
-
startingAfter
final Optional<String> startingAfter()
Pagination cursor id.
For example, if the final item in the last page you fetched had an id of
foo, passstarting_after=footo fetch the next page. Note: you may only pass one ofstarting_afterandending_before
-
_additionalHeaders
final Headers _additionalHeaders()
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
toBuilder
final UserListParams.Builder toBuilder()
-
none
final static UserListParams none()
-
builder
final static UserListParams.Builder builder()
Returns a mutable builder for constructing an instance of UserListParams.
-
-
-
-