Class UserListParams
-
- All Implemented Interfaces:
-
com.anthropic.core.Params
public final class UserListParams implements Params
List the organization's members.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classUserListParams.BuilderA builder for UserListParams.
-
Method Summary
Modifier and Type Method Description final Optional<String>afterId()ID of the object to use as a cursor for pagination. final Optional<String>beforeId()ID of the object to use as a cursor for pagination. final Optional<String>email()Filter by user email. final Optional<Long>limit()Number of items to return per page. final Optional<List<String>>roles()Filter to items whose roleequals one of the supplied values.final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final UserListParams.BuildertoBuilder()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. SpanData_spanData()The data for the OpenTelemetry span of a call to the method with these parameters. Booleanequals(Object other)IntegerhashCode()StringtoString()final static UserListParamsnone()final static UserListParams.Builderbuilder()Returns a mutable builder for constructing an instance of UserListParams. -
-
Method Detail
-
afterId
final Optional<String> afterId()
ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately after this object.
-
beforeId
final Optional<String> beforeId()
ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately before this object.
-
limit
final Optional<Long> limit()
Number of items to return per page.
Defaults to
20. Ranges from1to1000.
-
roles
final Optional<List<String>> roles()
Filter to items whose
roleequals one of the supplied values. Repeatable; values are OR'ed together.Accepted values depend on the organization type: Console and API organizations accept
user,developer,billing,admin, andclaude_code_user; Claude Enterprise organizations acceptuser,owner,primary_owner,membership_admin, andmanaged.
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final UserListParams.Builder toBuilder()
-
_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.
-
_spanData
SpanData _spanData()
The data for the OpenTelemetry span of a call to the method with these parameters.
-
none
final static UserListParams none()
-
builder
final static UserListParams.Builder builder()
Returns a mutable builder for constructing an instance of UserListParams.
-
-
-
-