Class ThreadServiceAsyncImpl.WithRawResponseImpl
-
- All Implemented Interfaces:
-
com.openai.services.async.beta.chatkit.ThreadServiceAsync.WithRawResponse
public final class ThreadServiceAsyncImpl.WithRawResponseImpl implements ThreadServiceAsync.WithRawResponse
-
-
Method Summary
Modifier and Type Method Description ThreadServiceAsync.WithRawResponse
withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied. CompletableFuture<HttpResponseFor<ChatKitThread>>
retrieve(ThreadRetrieveParams params, RequestOptions requestOptions)
CompletableFuture<HttpResponseFor<ThreadListPageAsync>>
list(ThreadListParams params, RequestOptions requestOptions)
CompletableFuture<HttpResponseFor<ThreadDeleteResponse>>
delete(ThreadDeleteParams params, RequestOptions requestOptions)
CompletableFuture<HttpResponseFor<ThreadListItemsPageAsync>>
listItems(ThreadListItemsParams params, RequestOptions requestOptions)
-
Methods inherited from class com.openai.services.async.beta.chatkit.ThreadServiceAsync.WithRawResponse
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
-
withOptions
ThreadServiceAsync.WithRawResponse 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<HttpResponseFor<ChatKitThread>> retrieve(ThreadRetrieveParams params, RequestOptions requestOptions)
-
list
CompletableFuture<HttpResponseFor<ThreadListPageAsync>> list(ThreadListParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<HttpResponseFor<ThreadDeleteResponse>> delete(ThreadDeleteParams params, RequestOptions requestOptions)
-
listItems
CompletableFuture<HttpResponseFor<ThreadListItemsPageAsync>> listItems(ThreadListItemsParams params, RequestOptions requestOptions)
-
-
-
-