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
Modifier and Type Method Description HttpResponseFor<Batch>
create(BatchCreateParams params)
Returns a raw HTTP response for post /batches
, but is otherwise the same as BatchService.create.abstract HttpResponseFor<Batch>
create(BatchCreateParams params, RequestOptions requestOptions)
HttpResponseFor<Batch>
retrieve(BatchRetrieveParams params)
Returns a raw HTTP response for get /batches/{batch_id}
, but is otherwise the same as BatchService.retrieve.abstract HttpResponseFor<Batch>
retrieve(BatchRetrieveParams params, RequestOptions requestOptions)
HttpResponseFor<BatchListPage>
list()
Returns a raw HTTP response for get /batches
, but is otherwise the same as BatchService.list.abstract HttpResponseFor<BatchListPage>
list(BatchListParams params, RequestOptions requestOptions)
HttpResponseFor<BatchListPage>
list(BatchListParams params)
HttpResponseFor<BatchListPage>
list(RequestOptions requestOptions)
HttpResponseFor<Batch>
cancel(BatchCancelParams params)
Returns a raw HTTP response for post /batches/{batch_id}/cancel
, but is otherwise the same as BatchService.cancel.abstract HttpResponseFor<Batch>
cancel(BatchCancelParams params, RequestOptions requestOptions)
-
-
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(BatchRetrieveParams params)
Returns a raw HTTP response for
get /batches/{batch_id}
, but is otherwise the same as BatchService.retrieve.
-
retrieve
@MustBeClosed() abstract HttpResponseFor<Batch> retrieve(BatchRetrieveParams params, 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(BatchCancelParams params)
Returns a raw HTTP response for
post /batches/{batch_id}/cancel
, but is otherwise the same as BatchService.cancel.
-
cancel
@MustBeClosed() abstract HttpResponseFor<Batch> cancel(BatchCancelParams params, RequestOptions requestOptions)
-
-
-
-