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