Package com.openai.services.blocking
Class BatchServiceImpl
-
- All Implemented Interfaces:
-
com.openai.services.blocking.BatchService
public final class BatchServiceImpl implements BatchService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
BatchServiceImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description BatchService.WithRawResponse
withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method. BatchService
withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied. Batch
create(BatchCreateParams params, RequestOptions requestOptions)
Batch
retrieve(BatchRetrieveParams params, RequestOptions requestOptions)
BatchListPage
list(BatchListParams params, RequestOptions requestOptions)
Batch
cancel(BatchCancelParams params, RequestOptions requestOptions)
-
Methods inherited from class com.openai.services.blocking.BatchService
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
-
withRawResponse
BatchService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
BatchService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
create
Batch create(BatchCreateParams params, RequestOptions requestOptions)
-
retrieve
Batch retrieve(BatchRetrieveParams params, RequestOptions requestOptions)
-
list
BatchListPage list(BatchListParams params, RequestOptions requestOptions)
-
cancel
Batch cancel(BatchCancelParams params, RequestOptions requestOptions)
-
-
-
-