Package com.openai.services.blocking
Class UploadServiceImpl
-
- All Implemented Interfaces:
-
com.openai.services.blocking.UploadService
public final class UploadServiceImpl implements UploadService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
UploadServiceImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description UploadService.WithRawResponse
withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method. UploadService
withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied. PartService
parts()
Upload
create(UploadCreateParams params, RequestOptions requestOptions)
Upload
cancel(UploadCancelParams params, RequestOptions requestOptions)
Upload
complete(UploadCompleteParams params, RequestOptions requestOptions)
-
-
Method Detail
-
withRawResponse
UploadService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
UploadService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
parts
PartService parts()
-
create
Upload create(UploadCreateParams params, RequestOptions requestOptions)
-
cancel
Upload cancel(UploadCancelParams params, RequestOptions requestOptions)
-
complete
Upload complete(UploadCompleteParams params, RequestOptions requestOptions)
-
-
-
-