Class InviteListParams
-
- All Implemented Interfaces:
-
com.anthropic.core.Params
public final class InviteListParams implements Params
List the organization's invites.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classInviteListParams.BuilderA builder for InviteListParams.
public final classInviteListParams.Status
-
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 the email address the Invite was sent to. 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 Optional<List<InviteListParams.Status>>statuses()Filter by Invite status. final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final InviteListParams.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 InviteListParamsnone()final static InviteListParams.Builderbuilder()Returns a mutable builder for constructing an instance of InviteListParams. -
-
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.
-
email
final Optional<String> email()
Filter by the email address the Invite was sent to. Matches the same way as the Users list's
emailfilter (normalized, case-insensitive).
-
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.
-
statuses
final Optional<List<InviteListParams.Status>> statuses()
Filter by Invite status. Repeatable; values are OR'ed together. Omit to return
pending,accepted, andexpiredInvites alike.
-
_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 InviteListParams.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 InviteListParams none()
-
builder
final static InviteListParams.Builder builder()
Returns a mutable builder for constructing an instance of InviteListParams.
-
-
-
-