Interface SessionServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface SessionServiceAsync.WithRawResponseA view of SessionServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
-
-
Method Detail
-
withOptions
abstract SessionServiceAsync.WithRawResponse 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.WithRawResponse events()
-
resources
abstract ResourceServiceAsync.WithRawResponse resources()
-
threads
abstract ThreadServiceAsync.WithRawResponse threads()
-
create
CompletableFuture<HttpResponseFor<BetaManagedAgentsSession>> create(SessionCreateParams params)
Returns a raw HTTP response for
post /v1/sessions?beta=true, but is otherwise the same as SessionServiceAsync.create.
-
create
abstract CompletableFuture<HttpResponseFor<BetaManagedAgentsSession>> create(SessionCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<HttpResponseFor<BetaManagedAgentsSession>> retrieve(String sessionId)
Returns a raw HTTP response for
get /v1/sessions/{session_id}?beta=true, but is otherwise the same as SessionServiceAsync.retrieve.
-
retrieve
CompletableFuture<HttpResponseFor<BetaManagedAgentsSession>> retrieve(String sessionId, SessionRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<HttpResponseFor<BetaManagedAgentsSession>> retrieve(String sessionId, SessionRetrieveParams params)
-
retrieve
abstract CompletableFuture<HttpResponseFor<BetaManagedAgentsSession>> retrieve(SessionRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<HttpResponseFor<BetaManagedAgentsSession>> retrieve(SessionRetrieveParams params)
-
retrieve
CompletableFuture<HttpResponseFor<BetaManagedAgentsSession>> retrieve(String sessionId, RequestOptions requestOptions)
-
update
CompletableFuture<HttpResponseFor<BetaManagedAgentsSession>> update(String sessionId)
Returns a raw HTTP response for
post /v1/sessions/{session_id}?beta=true, but is otherwise the same as SessionServiceAsync.update.
-
update
CompletableFuture<HttpResponseFor<BetaManagedAgentsSession>> update(String sessionId, SessionUpdateParams params, RequestOptions requestOptions)
-
update
CompletableFuture<HttpResponseFor<BetaManagedAgentsSession>> update(String sessionId, SessionUpdateParams params)
-
update
abstract CompletableFuture<HttpResponseFor<BetaManagedAgentsSession>> update(SessionUpdateParams params, RequestOptions requestOptions)
-
update
CompletableFuture<HttpResponseFor<BetaManagedAgentsSession>> update(SessionUpdateParams params)
-
update
CompletableFuture<HttpResponseFor<BetaManagedAgentsSession>> update(String sessionId, RequestOptions requestOptions)
-
list
CompletableFuture<HttpResponseFor<SessionListPageAsync>> list()
Returns a raw HTTP response for
get /v1/sessions?beta=true, but is otherwise the same as SessionServiceAsync.list.
-
list
abstract CompletableFuture<HttpResponseFor<SessionListPageAsync>> list(SessionListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<HttpResponseFor<SessionListPageAsync>> list(SessionListParams params)
-
list
CompletableFuture<HttpResponseFor<SessionListPageAsync>> list(RequestOptions requestOptions)
-
delete
CompletableFuture<HttpResponseFor<BetaManagedAgentsDeletedSession>> delete(String sessionId)
Returns a raw HTTP response for
delete /v1/sessions/{session_id}?beta=true, but is otherwise the same as SessionServiceAsync.delete.
-
delete
CompletableFuture<HttpResponseFor<BetaManagedAgentsDeletedSession>> delete(String sessionId, SessionDeleteParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<HttpResponseFor<BetaManagedAgentsDeletedSession>> delete(String sessionId, SessionDeleteParams params)
-
delete
abstract CompletableFuture<HttpResponseFor<BetaManagedAgentsDeletedSession>> delete(SessionDeleteParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<HttpResponseFor<BetaManagedAgentsDeletedSession>> delete(SessionDeleteParams params)
-
delete
CompletableFuture<HttpResponseFor<BetaManagedAgentsDeletedSession>> delete(String sessionId, RequestOptions requestOptions)
-
archive
CompletableFuture<HttpResponseFor<BetaManagedAgentsSession>> archive(String sessionId)
Returns a raw HTTP response for
post /v1/sessions/{session_id}/archive?beta=true, but is otherwise the same as SessionServiceAsync.archive.
-
archive
CompletableFuture<HttpResponseFor<BetaManagedAgentsSession>> archive(String sessionId, SessionArchiveParams params, RequestOptions requestOptions)
-
archive
CompletableFuture<HttpResponseFor<BetaManagedAgentsSession>> archive(String sessionId, SessionArchiveParams params)
-
archive
abstract CompletableFuture<HttpResponseFor<BetaManagedAgentsSession>> archive(SessionArchiveParams params, RequestOptions requestOptions)
-
archive
CompletableFuture<HttpResponseFor<BetaManagedAgentsSession>> archive(SessionArchiveParams params)
-
archive
CompletableFuture<HttpResponseFor<BetaManagedAgentsSession>> archive(String sessionId, RequestOptions requestOptions)
-
-
-
-