Interface FileServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface FileServiceAsync.WithRawResponseA view of FileServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
-
-
Method Detail
-
withOptions
abstract FileServiceAsync.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
list
CompletableFuture<HttpResponseFor<FileListResponse>> list(String id)
Returns a raw HTTP response for
get /agent/v1/chat/{id}/files, but is otherwise the same as FileServiceAsync.list.
-
list
CompletableFuture<HttpResponseFor<FileListResponse>> list(String id, FileListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<HttpResponseFor<FileListResponse>> list(String id, FileListParams params)
-
list
abstract CompletableFuture<HttpResponseFor<FileListResponse>> list(FileListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<HttpResponseFor<FileListResponse>> list(FileListParams params)
-
list
CompletableFuture<HttpResponseFor<FileListResponse>> list(String id, RequestOptions requestOptions)
-
download
CompletableFuture<HttpResponse> download(String filePath, FileDownloadParams params)
Returns a raw HTTP response for
get /agent/v1/chat/{id}/files/{filePath}, but is otherwise the same as FileServiceAsync.download.
-
download
CompletableFuture<HttpResponse> download(String filePath, FileDownloadParams params, RequestOptions requestOptions)
-
download
CompletableFuture<HttpResponse> download(FileDownloadParams params)
-
download
abstract CompletableFuture<HttpResponse> download(FileDownloadParams params, RequestOptions requestOptions)
-
-
-
-