Interface SessionServiceAsync
-
- All Implemented Interfaces:
public interface SessionServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceSessionServiceAsync.WithRawResponseA view of SessionServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract SessionServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract SessionServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
events
abstract EventServiceAsync events()
-
resources
abstract ResourceServiceAsync resources()
-
threads
abstract ThreadServiceAsync threads()
-
create
CompletableFuture<BetaManagedAgentsSession> create(SessionCreateParams params)
Create Session
-
create
abstract CompletableFuture<BetaManagedAgentsSession> create(SessionCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<BetaManagedAgentsSession> retrieve(String sessionId)
Get Session
-
retrieve
CompletableFuture<BetaManagedAgentsSession> retrieve(String sessionId, SessionRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<BetaManagedAgentsSession> retrieve(String sessionId, SessionRetrieveParams params)
-
retrieve
abstract CompletableFuture<BetaManagedAgentsSession> retrieve(SessionRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<BetaManagedAgentsSession> retrieve(SessionRetrieveParams params)
-
retrieve
CompletableFuture<BetaManagedAgentsSession> retrieve(String sessionId, RequestOptions requestOptions)
-
update
CompletableFuture<BetaManagedAgentsSession> update(String sessionId)
Update Session
-
update
CompletableFuture<BetaManagedAgentsSession> update(String sessionId, SessionUpdateParams params, RequestOptions requestOptions)
-
update
CompletableFuture<BetaManagedAgentsSession> update(String sessionId, SessionUpdateParams params)
-
update
abstract CompletableFuture<BetaManagedAgentsSession> update(SessionUpdateParams params, RequestOptions requestOptions)
-
update
CompletableFuture<BetaManagedAgentsSession> update(SessionUpdateParams params)
-
update
CompletableFuture<BetaManagedAgentsSession> update(String sessionId, RequestOptions requestOptions)
-
list
CompletableFuture<SessionListPageAsync> list()
List Sessions
-
list
abstract CompletableFuture<SessionListPageAsync> list(SessionListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<SessionListPageAsync> list(SessionListParams params)
-
list
CompletableFuture<SessionListPageAsync> list(RequestOptions requestOptions)
-
delete
CompletableFuture<BetaManagedAgentsDeletedSession> delete(String sessionId)
Delete Session
-
delete
CompletableFuture<BetaManagedAgentsDeletedSession> delete(String sessionId, SessionDeleteParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<BetaManagedAgentsDeletedSession> delete(String sessionId, SessionDeleteParams params)
-
delete
abstract CompletableFuture<BetaManagedAgentsDeletedSession> delete(SessionDeleteParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<BetaManagedAgentsDeletedSession> delete(SessionDeleteParams params)
-
delete
CompletableFuture<BetaManagedAgentsDeletedSession> delete(String sessionId, RequestOptions requestOptions)
-
archive
CompletableFuture<BetaManagedAgentsSession> archive(String sessionId)
Archive Session
-
archive
CompletableFuture<BetaManagedAgentsSession> archive(String sessionId, SessionArchiveParams params, RequestOptions requestOptions)
-
archive
CompletableFuture<BetaManagedAgentsSession> archive(String sessionId, SessionArchiveParams params)
-
archive
abstract CompletableFuture<BetaManagedAgentsSession> archive(SessionArchiveParams params, RequestOptions requestOptions)
-
archive
CompletableFuture<BetaManagedAgentsSession> archive(SessionArchiveParams params)
-
archive
CompletableFuture<BetaManagedAgentsSession> archive(String sessionId, RequestOptions requestOptions)
-
-
-
-