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