Class ApiKeyListParams
-
- All Implemented Interfaces:
-
com.anthropic.core.Params
public final class ApiKeyListParams implements Params
List API Keys
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classApiKeyListParams.BuilderA builder for ApiKeyListParams.
public final classApiKeyListParams.StatusFilter by API key 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>createdByUserId()Filter by the ID of the User who created the object. final Optional<Long>limit()Number of items to return per page. final Optional<ApiKeyListParams.Status>status()Filter by API key status. final Optional<String>workspaceId()Filter by Workspace ID. final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final ApiKeyListParams.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 ApiKeyListParamsnone()final static ApiKeyListParams.Builderbuilder()Returns a mutable builder for constructing an instance of ApiKeyListParams. -
-
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.
-
createdByUserId
final Optional<String> createdByUserId()
Filter by the ID of the User who created the object.
-
limit
final Optional<Long> limit()
Number of items to return per page.
Defaults to
20. Ranges from1to1000.
-
status
final Optional<ApiKeyListParams.Status> status()
Filter by API key status.
-
workspaceId
final Optional<String> workspaceId()
Filter by Workspace ID.
-
_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 ApiKeyListParams.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 ApiKeyListParams none()
-
builder
final static ApiKeyListParams.Builder builder()
Returns a mutable builder for constructing an instance of ApiKeyListParams.
-
-
-
-