Interface FileService.WithRawResponse
-
- All Implemented Interfaces:
public interface FileService.WithRawResponseA view of FileService that provides access to raw HTTP responses for each method.
-
-
Method Summary
-
-
Method Detail
-
withOptions
abstract FileService.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
@MustBeClosed() HttpResponseFor<FileListResponse> list(String id)
Returns a raw HTTP response for
get /agent/v2/chat/{id}/files, but is otherwise the same as FileService.list.
-
list
@MustBeClosed() HttpResponseFor<FileListResponse> list(String id, FileListParams params, RequestOptions requestOptions)
-
list
@MustBeClosed() HttpResponseFor<FileListResponse> list(String id, FileListParams params)
-
list
@MustBeClosed() abstract HttpResponseFor<FileListResponse> list(FileListParams params, RequestOptions requestOptions)
-
list
@MustBeClosed() HttpResponseFor<FileListResponse> list(FileListParams params)
-
list
@MustBeClosed() HttpResponseFor<FileListResponse> list(String id, RequestOptions requestOptions)
-
download
@MustBeClosed() HttpResponse download(String filePath, FileDownloadParams params)
Returns a raw HTTP response for
get /agent/v2/chat/{id}/files/{filePath}, but is otherwise the same as FileService.download.
-
download
@MustBeClosed() HttpResponse download(String filePath, FileDownloadParams params, RequestOptions requestOptions)
-
download
@MustBeClosed() HttpResponse download(FileDownloadParams params)
-
download
@MustBeClosed() abstract HttpResponse download(FileDownloadParams params, RequestOptions requestOptions)
-
-
-
-