Package com.openai.services.async
Class BatchServiceAsyncImpl.WithRawResponseImpl
-
- All Implemented Interfaces:
-
com.openai.services.async.BatchServiceAsync.WithRawResponse
public final class BatchServiceAsyncImpl.WithRawResponseImpl implements BatchServiceAsync.WithRawResponse
-
-
Method Summary
Modifier and Type Method Description BatchServiceAsync.WithRawResponse
withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied. CompletableFuture<HttpResponseFor<Batch>>
create(BatchCreateParams params, RequestOptions requestOptions)
CompletableFuture<HttpResponseFor<Batch>>
retrieve(BatchRetrieveParams params, RequestOptions requestOptions)
CompletableFuture<HttpResponseFor<BatchListPageAsync>>
list(BatchListParams params, RequestOptions requestOptions)
CompletableFuture<HttpResponseFor<Batch>>
cancel(BatchCancelParams params, RequestOptions requestOptions)
-
Methods inherited from class com.openai.services.async.BatchServiceAsync.WithRawResponse
cancel, cancel, cancel, cancel, cancel, create, 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
-
withOptions
BatchServiceAsync.WithRawResponse 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<HttpResponseFor<Batch>> create(BatchCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<HttpResponseFor<Batch>> retrieve(BatchRetrieveParams params, RequestOptions requestOptions)
-
list
CompletableFuture<HttpResponseFor<BatchListPageAsync>> list(BatchListParams params, RequestOptions requestOptions)
-
cancel
CompletableFuture<HttpResponseFor<Batch>> cancel(BatchCancelParams params, RequestOptions requestOptions)
-
-
-
-