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 classUploadServiceImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description UploadService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. UploadServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. PartServiceparts()Uploadcreate(UploadCreateParams params, RequestOptions requestOptions)Uploadcancel(UploadCancelParams params, RequestOptions requestOptions)Uploadcomplete(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)
-
-
-
-