Package com.openai.services.blocking
Interface BatchService.WithRawResponse
-
- All Implemented Interfaces:
public interface BatchService.WithRawResponse
A view of BatchService that provides access to raw HTTP responses for each method.
-
-
Method Summary
-
-
Method Detail
-
create
@MustBeClosed() HttpResponseFor<Batch> create(BatchCreateParams params)
Returns a raw HTTP response for
post /batches
, but is otherwise the same as BatchService.create.
-
create
@MustBeClosed() abstract HttpResponseFor<Batch> create(BatchCreateParams params, RequestOptions requestOptions)
-
retrieve
@MustBeClosed() HttpResponseFor<Batch> retrieve(String batchId)
Returns a raw HTTP response for
get /batches/{batch_id}
, but is otherwise the same as BatchService.retrieve.
-
retrieve
@MustBeClosed() HttpResponseFor<Batch> retrieve(String batchId, BatchRetrieveParams params, RequestOptions requestOptions)
-
retrieve
@MustBeClosed() HttpResponseFor<Batch> retrieve(String batchId, BatchRetrieveParams params)
-
retrieve
@MustBeClosed() abstract HttpResponseFor<Batch> retrieve(BatchRetrieveParams params, RequestOptions requestOptions)
-
retrieve
@MustBeClosed() HttpResponseFor<Batch> retrieve(BatchRetrieveParams params)
-
retrieve
@MustBeClosed() HttpResponseFor<Batch> retrieve(String batchId, RequestOptions requestOptions)
-
list
@MustBeClosed() HttpResponseFor<BatchListPage> list()
Returns a raw HTTP response for
get /batches
, but is otherwise the same as BatchService.list.
-
list
@MustBeClosed() abstract HttpResponseFor<BatchListPage> list(BatchListParams params, RequestOptions requestOptions)
-
list
@MustBeClosed() HttpResponseFor<BatchListPage> list(BatchListParams params)
-
list
@MustBeClosed() HttpResponseFor<BatchListPage> list(RequestOptions requestOptions)
-
cancel
@MustBeClosed() HttpResponseFor<Batch> cancel(String batchId)
Returns a raw HTTP response for
post /batches/{batch_id}/cancel
, but is otherwise the same as BatchService.cancel.
-
cancel
@MustBeClosed() HttpResponseFor<Batch> cancel(String batchId, BatchCancelParams params, RequestOptions requestOptions)
-
cancel
@MustBeClosed() HttpResponseFor<Batch> cancel(String batchId, BatchCancelParams params)
-
cancel
@MustBeClosed() abstract HttpResponseFor<Batch> cancel(BatchCancelParams params, RequestOptions requestOptions)
-
cancel
@MustBeClosed() HttpResponseFor<Batch> cancel(BatchCancelParams params)
-
cancel
@MustBeClosed() HttpResponseFor<Batch> cancel(String batchId, RequestOptions requestOptions)
-
-
-
-