Class ThreadServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.anthropic.services.async.beta.sessions.ThreadServiceAsync
public final class ThreadServiceAsyncImpl implements ThreadServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classThreadServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description ThreadServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. ThreadServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. EventServiceAsyncevents()CompletableFuture<BetaManagedAgentsSessionThread>retrieve(ThreadRetrieveParams params, RequestOptions requestOptions)CompletableFuture<ThreadListPageAsync>list(ThreadListParams params, RequestOptions requestOptions)CompletableFuture<BetaManagedAgentsSessionThread>archive(ThreadArchiveParams params, RequestOptions requestOptions)-
Methods inherited from class com.anthropic.services.async.beta.sessions.ThreadServiceAsync
archive, archive, archive, 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
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.
-
events
EventServiceAsync events()
-
retrieve
CompletableFuture<BetaManagedAgentsSessionThread> retrieve(ThreadRetrieveParams params, RequestOptions requestOptions)
-
list
CompletableFuture<ThreadListPageAsync> list(ThreadListParams params, RequestOptions requestOptions)
-
archive
CompletableFuture<BetaManagedAgentsSessionThread> archive(ThreadArchiveParams params, RequestOptions requestOptions)
-
-
-
-