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