Package com.openai.services.blocking
Interface UploadService.WithRawResponse
-
- All Implemented Interfaces:
public interface UploadService.WithRawResponse
A view of UploadService that provides access to raw HTTP responses for each method.
-
-
Method Summary
Modifier and Type Method Description abstract PartService.WithRawResponse
parts()
HttpResponseFor<Upload>
create(UploadCreateParams params)
Returns a raw HTTP response for post /uploads
, but is otherwise the same as UploadService.create.abstract HttpResponseFor<Upload>
create(UploadCreateParams params, RequestOptions requestOptions)
HttpResponseFor<Upload>
cancel(UploadCancelParams params)
Returns a raw HTTP response for post /uploads/{upload_id}/cancel
, but is otherwise the same as UploadService.cancel.abstract HttpResponseFor<Upload>
cancel(UploadCancelParams params, RequestOptions requestOptions)
HttpResponseFor<Upload>
complete(UploadCompleteParams params)
Returns a raw HTTP response for post /uploads/{upload_id}/complete
, but is otherwise the same as UploadService.complete.abstract HttpResponseFor<Upload>
complete(UploadCompleteParams params, RequestOptions requestOptions)
-
-
Method Detail
-
parts
abstract PartService.WithRawResponse parts()
-
create
@MustBeClosed() HttpResponseFor<Upload> create(UploadCreateParams params)
Returns a raw HTTP response for
post /uploads
, but is otherwise the same as UploadService.create.
-
create
@MustBeClosed() abstract HttpResponseFor<Upload> create(UploadCreateParams params, RequestOptions requestOptions)
-
cancel
@MustBeClosed() HttpResponseFor<Upload> cancel(UploadCancelParams params)
Returns a raw HTTP response for
post /uploads/{upload_id}/cancel
, but is otherwise the same as UploadService.cancel.
-
cancel
@MustBeClosed() abstract HttpResponseFor<Upload> cancel(UploadCancelParams params, RequestOptions requestOptions)
-
complete
@MustBeClosed() HttpResponseFor<Upload> complete(UploadCompleteParams params)
Returns a raw HTTP response for
post /uploads/{upload_id}/complete
, but is otherwise the same as UploadService.complete.
-
complete
@MustBeClosed() abstract HttpResponseFor<Upload> complete(UploadCompleteParams params, RequestOptions requestOptions)
-
-
-
-