Interface FileServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface FileServiceAsync.WithRawResponse
A view of FileServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
Modifier and Type Method Description abstract CompletableFuture<HttpResponseFor<FileObject>>
create(FileCreateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for post /files
, but is otherwise the same as FileServiceAsync.create.abstract CompletableFuture<HttpResponseFor<FileObject>>
create(FileCreateParams params)
Returns a raw HTTP response for post /files
, but is otherwise the same as FileServiceAsync.create.abstract 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.abstract CompletableFuture<HttpResponseFor<FileObject>>
retrieve(FileRetrieveParams params)
Returns a raw HTTP response for get /files/{file_id}
, but is otherwise the same as FileServiceAsync.retrieve.abstract CompletableFuture<HttpResponseFor<FileListPageAsync>>
list(FileListParams params, RequestOptions requestOptions)
Returns a raw HTTP response for get /files
, but is otherwise the same as FileServiceAsync.list.abstract CompletableFuture<HttpResponseFor<FileListPageAsync>>
list(FileListParams params)
Returns a raw HTTP response for get /files
, but is otherwise the same as FileServiceAsync.list.abstract CompletableFuture<HttpResponseFor<FileListPageAsync>>
list()
Returns a raw HTTP response for get /files
, but is otherwise the same as FileServiceAsync.list.CompletableFuture<HttpResponseFor<FileListPageAsync>>
list(RequestOptions requestOptions)
Returns a raw HTTP response for get /files
, but is otherwise the same as FileServiceAsync.list.abstract 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.abstract CompletableFuture<HttpResponseFor<FileDeleted>>
delete(FileDeleteParams params)
Returns a raw HTTP response for delete /files/{file_id}
, but is otherwise the same as FileServiceAsync.delete.abstract 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.abstract CompletableFuture<HttpResponse>
content(FileContentParams params)
Returns a raw HTTP response for get /files/{file_id}/content
, but is otherwise the same as FileServiceAsync.content.-
-
Method Detail
-
create
abstract CompletableFuture<HttpResponseFor<FileObject>> create(FileCreateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
post /files
, but is otherwise the same as FileServiceAsync.create.
-
create
abstract CompletableFuture<HttpResponseFor<FileObject>> create(FileCreateParams params)
Returns a raw HTTP response for
post /files
, but is otherwise the same as FileServiceAsync.create.
-
retrieve
abstract 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.
-
retrieve
abstract CompletableFuture<HttpResponseFor<FileObject>> retrieve(FileRetrieveParams params)
Returns a raw HTTP response for
get /files/{file_id}
, but is otherwise the same as FileServiceAsync.retrieve.
-
list
abstract CompletableFuture<HttpResponseFor<FileListPageAsync>> list(FileListParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
get /files
, but is otherwise the same as FileServiceAsync.list.
-
list
abstract CompletableFuture<HttpResponseFor<FileListPageAsync>> list(FileListParams params)
Returns a raw HTTP response for
get /files
, but is otherwise the same as FileServiceAsync.list.
-
list
abstract CompletableFuture<HttpResponseFor<FileListPageAsync>> list()
Returns a raw HTTP response for
get /files
, but is otherwise the same as FileServiceAsync.list.
-
list
CompletableFuture<HttpResponseFor<FileListPageAsync>> list(RequestOptions requestOptions)
Returns a raw HTTP response for
get /files
, but is otherwise the same as FileServiceAsync.list.
-
delete
abstract 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.
-
delete
abstract CompletableFuture<HttpResponseFor<FileDeleted>> delete(FileDeleteParams params)
Returns a raw HTTP response for
delete /files/{file_id}
, but is otherwise the same as FileServiceAsync.delete.
-
content
abstract 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.
-
content
abstract CompletableFuture<HttpResponse> content(FileContentParams params)
Returns a raw HTTP response for
get /files/{file_id}/content
, but is otherwise the same as FileServiceAsync.content.
-
-
-
-