Class ThreadServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.openai.services.async.beta.chatkit.ThreadServiceAsync
public final class ThreadServiceAsyncImpl implements ThreadServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ThreadServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description ThreadServiceAsync.WithRawResponse
withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method. ThreadServiceAsync
withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied. CompletableFuture<ChatKitThread>
retrieve(ThreadRetrieveParams params, RequestOptions requestOptions)
CompletableFuture<ThreadListPageAsync>
list(ThreadListParams params, RequestOptions requestOptions)
CompletableFuture<ThreadDeleteResponse>
delete(ThreadDeleteParams params, RequestOptions requestOptions)
CompletableFuture<ThreadListItemsPageAsync>
listItems(ThreadListItemsParams params, RequestOptions requestOptions)
-
Methods inherited from class com.openai.services.async.beta.chatkit.ThreadServiceAsync
delete, delete, delete, delete, delete, list, list, list, listItems, listItems, listItems, listItems, listItems, retrieve, retrieve, retrieve, retrieve, retrieve
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
withRawResponse
ThreadServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
ThreadServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
retrieve
CompletableFuture<ChatKitThread> retrieve(ThreadRetrieveParams params, RequestOptions requestOptions)
-
list
CompletableFuture<ThreadListPageAsync> list(ThreadListParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<ThreadDeleteResponse> delete(ThreadDeleteParams params, RequestOptions requestOptions)
-
listItems
CompletableFuture<ThreadListItemsPageAsync> listItems(ThreadListItemsParams params, RequestOptions requestOptions)
-
-
-
-