Class ThreadServiceImpl
-
- All Implemented Interfaces:
-
com.anthropic.services.blocking.beta.sessions.ThreadService
public final class ThreadServiceImpl implements ThreadService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classThreadServiceImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description ThreadService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. ThreadServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. EventServiceevents()BetaManagedAgentsSessionThreadretrieve(ThreadRetrieveParams params, RequestOptions requestOptions)ThreadListPagelist(ThreadListParams params, RequestOptions requestOptions)BetaManagedAgentsSessionThreadarchive(ThreadArchiveParams params, RequestOptions requestOptions)-
Methods inherited from class com.anthropic.services.blocking.beta.sessions.ThreadService
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
ThreadService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
ThreadService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
events
EventService events()
-
retrieve
BetaManagedAgentsSessionThread retrieve(ThreadRetrieveParams params, RequestOptions requestOptions)
-
list
ThreadListPage list(ThreadListParams params, RequestOptions requestOptions)
-
archive
BetaManagedAgentsSessionThread archive(ThreadArchiveParams params, RequestOptions requestOptions)
-
-
-
-