Interface ApiKeyService
-
- All Implemented Interfaces:
public interface ApiKeyService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceApiKeyService.WithRawResponseA view of ApiKeyService that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract ApiKeyService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract ApiKeyServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. ApiKeyCreateResponsecreate(String workspaceId)Create a new API key in a workspace. ApiKeyCreateResponsecreate(String workspaceId, ApiKeyCreateParams params, RequestOptions requestOptions)ApiKeyCreateResponsecreate(String workspaceId, ApiKeyCreateParams params)abstract ApiKeyCreateResponsecreate(ApiKeyCreateParams params, RequestOptions requestOptions)ApiKeyCreateResponsecreate(ApiKeyCreateParams params)ApiKeyCreateResponsecreate(String workspaceId, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract ApiKeyService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract ApiKeyService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
create
ApiKeyCreateResponse create(String workspaceId)
Create a new API key in a workspace.
-
create
ApiKeyCreateResponse create(String workspaceId, ApiKeyCreateParams params, RequestOptions requestOptions)
-
create
ApiKeyCreateResponse create(String workspaceId, ApiKeyCreateParams params)
-
create
abstract ApiKeyCreateResponse create(ApiKeyCreateParams params, RequestOptions requestOptions)
-
create
ApiKeyCreateResponse create(ApiKeyCreateParams params)
-
create
ApiKeyCreateResponse create(String workspaceId, RequestOptions requestOptions)
-
-
-
-