Package com.openai.services.async
Class FileServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.openai.services.async.FileServiceAsync
public final class FileServiceAsyncImpl implements FileServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
FileServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description FileServiceAsync.WithRawResponse
withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method. CompletableFuture<FileObject>
create(FileCreateParams params, RequestOptions requestOptions)
CompletableFuture<FileObject>
retrieve(FileRetrieveParams params, RequestOptions requestOptions)
CompletableFuture<FileListPageAsync>
list(FileListParams params, RequestOptions requestOptions)
CompletableFuture<FileDeleted>
delete(FileDeleteParams params, RequestOptions requestOptions)
CompletableFuture<HttpResponse>
content(FileContentParams params, RequestOptions requestOptions)
-
-
Method Detail
-
withRawResponse
FileServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
create
CompletableFuture<FileObject> create(FileCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<FileObject> retrieve(FileRetrieveParams params, RequestOptions requestOptions)
-
list
CompletableFuture<FileListPageAsync> list(FileListParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<FileDeleted> delete(FileDeleteParams params, RequestOptions requestOptions)
-
content
CompletableFuture<HttpResponse> content(FileContentParams params, RequestOptions requestOptions)
-
-
-
-