Package com.openai.services.blocking
Class FileServiceImpl.WithRawResponseImpl
-
- All Implemented Interfaces:
-
com.openai.services.blocking.FileService.WithRawResponse
public final class FileServiceImpl.WithRawResponseImpl implements FileService.WithRawResponse
-
-
Method Summary
Modifier and Type Method Description HttpResponseFor<FileObject>create(FileCreateParams params, RequestOptions requestOptions)Returns a raw HTTP response for post /files, but is otherwise the same as FileService.create.HttpResponseFor<FileObject>retrieve(FileRetrieveParams params, RequestOptions requestOptions)Returns a raw HTTP response for get /files/{file_id}, but is otherwise the same as FileService.retrieve.HttpResponseFor<FileListPage>list(FileListParams params, RequestOptions requestOptions)Returns a raw HTTP response for get /files, but is otherwise the same as FileService.list.HttpResponseFor<FileDeleted>delete(FileDeleteParams params, RequestOptions requestOptions)Returns a raw HTTP response for delete /files/{file_id}, but is otherwise the same as FileService.delete.HttpResponsecontent(FileContentParams params, RequestOptions requestOptions)Returns a raw HTTP response for get /files/{file_id}/content, but is otherwise the same as FileService.content.-
-
Method Detail
-
create
HttpResponseFor<FileObject> create(FileCreateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
post /files, but is otherwise the same as FileService.create.
-
retrieve
HttpResponseFor<FileObject> retrieve(FileRetrieveParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
get /files/{file_id}, but is otherwise the same as FileService.retrieve.
-
list
HttpResponseFor<FileListPage> list(FileListParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
get /files, but is otherwise the same as FileService.list.
-
delete
HttpResponseFor<FileDeleted> delete(FileDeleteParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
delete /files/{file_id}, but is otherwise the same as FileService.delete.
-
content
HttpResponse content(FileContentParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
get /files/{file_id}/content, but is otherwise the same as FileService.content.
-
-
-
-