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 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. ContentServiceAsync
content()
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.
-
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)
-
-
-
-