Class SpendAlertServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.openai.services.async.admin.organization.SpendAlertServiceAsync
public final class SpendAlertServiceAsyncImpl implements SpendAlertServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSpendAlertServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description SpendAlertServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. SpendAlertServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<OrganizationSpendAlert>create(SpendAlertCreateParams params, RequestOptions requestOptions)CompletableFuture<OrganizationSpendAlert>update(SpendAlertUpdateParams params, RequestOptions requestOptions)CompletableFuture<SpendAlertListPageAsync>list(SpendAlertListParams params, RequestOptions requestOptions)CompletableFuture<OrganizationSpendAlertDeleted>delete(SpendAlertDeleteParams params, RequestOptions requestOptions)-
Methods inherited from class com.openai.services.async.admin.organization.SpendAlertServiceAsync
create, delete, delete, delete, delete, delete, list, list, list, update, update, update -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
withRawResponse
SpendAlertServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
SpendAlertServiceAsync 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<OrganizationSpendAlert> create(SpendAlertCreateParams params, RequestOptions requestOptions)
-
update
CompletableFuture<OrganizationSpendAlert> update(SpendAlertUpdateParams params, RequestOptions requestOptions)
-
list
CompletableFuture<SpendAlertListPageAsync> list(SpendAlertListParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<OrganizationSpendAlertDeleted> delete(SpendAlertDeleteParams params, RequestOptions requestOptions)
-
-
-
-