Package com.openai.services.async
Class BatchServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.openai.services.async.BatchServiceAsync
public final class BatchServiceAsyncImpl implements BatchServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
BatchServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description BatchServiceAsync.WithRawResponse
withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method. CompletableFuture<Batch>
create(BatchCreateParams params, RequestOptions requestOptions)
CompletableFuture<Batch>
retrieve(BatchRetrieveParams params, RequestOptions requestOptions)
CompletableFuture<BatchListPageAsync>
list(BatchListParams params, RequestOptions requestOptions)
CompletableFuture<Batch>
cancel(BatchCancelParams params, RequestOptions requestOptions)
-
-
Method Detail
-
withRawResponse
BatchServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
create
CompletableFuture<Batch> create(BatchCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<Batch> retrieve(BatchRetrieveParams params, RequestOptions requestOptions)
-
list
CompletableFuture<BatchListPageAsync> list(BatchListParams params, RequestOptions requestOptions)
-
cancel
CompletableFuture<Batch> cancel(BatchCancelParams params, RequestOptions requestOptions)
-
-
-
-