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 CompletableFuture<HttpResponseFor<Batch>>
create(BatchCreateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for post /batches
, but is otherwise the same as BatchServiceAsync.create.CompletableFuture<HttpResponseFor<Batch>>
retrieve(BatchRetrieveParams params, RequestOptions requestOptions)
Returns a raw HTTP response for get /batches/{batch_id}
, but is otherwise the same as BatchServiceAsync.retrieve.CompletableFuture<HttpResponseFor<BatchListPageAsync>>
list(BatchListParams params, RequestOptions requestOptions)
Returns a raw HTTP response for get /batches
, but is otherwise the same as BatchServiceAsync.list.CompletableFuture<HttpResponseFor<Batch>>
cancel(BatchCancelParams params, RequestOptions requestOptions)
Returns a raw HTTP response for post /batches/{batch_id}/cancel
, but is otherwise the same as BatchServiceAsync.cancel.-
-
Method Detail
-
create
CompletableFuture<HttpResponseFor<Batch>> create(BatchCreateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
post /batches
, but is otherwise the same as BatchServiceAsync.create.
-
retrieve
CompletableFuture<HttpResponseFor<Batch>> retrieve(BatchRetrieveParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
get /batches/{batch_id}
, but is otherwise the same as BatchServiceAsync.retrieve.
-
list
CompletableFuture<HttpResponseFor<BatchListPageAsync>> list(BatchListParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
get /batches
, but is otherwise the same as BatchServiceAsync.list.
-
cancel
CompletableFuture<HttpResponseFor<Batch>> cancel(BatchCancelParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
post /batches/{batch_id}/cancel
, but is otherwise the same as BatchServiceAsync.cancel.
-
-
-
-