Class AdminApiKeyServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.openai.services.async.admin.organization.AdminApiKeyServiceAsync
public final class AdminApiKeyServiceAsyncImpl implements AdminApiKeyServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAdminApiKeyServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description AdminApiKeyServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. AdminApiKeyServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<AdminApiKeyCreateResponse>create(AdminApiKeyCreateParams params, RequestOptions requestOptions)CompletableFuture<AdminApiKey>retrieve(AdminApiKeyRetrieveParams params, RequestOptions requestOptions)CompletableFuture<AdminApiKeyListPageAsync>list(AdminApiKeyListParams params, RequestOptions requestOptions)CompletableFuture<AdminApiKeyDeleteResponse>delete(AdminApiKeyDeleteParams params, RequestOptions requestOptions)-
Methods inherited from class com.openai.services.async.admin.organization.AdminApiKeyServiceAsync
create, delete, delete, delete, delete, delete, list, list, list, retrieve, retrieve, retrieve, retrieve, retrieve -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
withRawResponse
AdminApiKeyServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
AdminApiKeyServiceAsync 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<AdminApiKeyCreateResponse> create(AdminApiKeyCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<AdminApiKey> retrieve(AdminApiKeyRetrieveParams params, RequestOptions requestOptions)
-
list
CompletableFuture<AdminApiKeyListPageAsync> list(AdminApiKeyListParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<AdminApiKeyDeleteResponse> delete(AdminApiKeyDeleteParams params, RequestOptions requestOptions)
-
-
-
-