Class FileServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.openai.services.async.containers.FileServiceAsync
public final class FileServiceAsyncImpl implements FileServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFileServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description FileServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. FileServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. ContentServiceAsynccontent()CompletableFuture<FileCreateResponse>create(FileCreateParams params, RequestOptions requestOptions)CompletableFuture<FileRetrieveResponse>retrieve(FileRetrieveParams params, RequestOptions requestOptions)CompletableFuture<FileListPageAsync>list(FileListParams params, RequestOptions requestOptions)CompletableFuture<Void>delete(FileDeleteParams params, RequestOptions requestOptions)-
Methods inherited from class com.openai.services.async.containers.FileServiceAsync
create, create, create, create, create, delete, delete, delete, list, list, list, list, list, retrieve, retrieve, retrieve -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
withRawResponse
FileServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
FileServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
content
ContentServiceAsync content()
-
create
CompletableFuture<FileCreateResponse> create(FileCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<FileRetrieveResponse> retrieve(FileRetrieveParams params, RequestOptions requestOptions)
-
list
CompletableFuture<FileListPageAsync> list(FileListParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<Void> delete(FileDeleteParams params, RequestOptions requestOptions)
-
-
-
-