Interface AgentService.WithRawResponse
-
- All Implemented Interfaces:
public interface AgentService.WithRawResponseA view of AgentService that provides access to raw HTTP responses for each method.
-
-
Method Summary
-
-
Method Detail
-
withOptions
abstract AgentService.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
versions
abstract VersionService.WithRawResponse versions()
-
create
@MustBeClosed() HttpResponseFor<BetaManagedAgentsAgent> create(AgentCreateParams params)
Returns a raw HTTP response for
post /v1/agents?beta=true, but is otherwise the same as AgentService.create.
-
create
@MustBeClosed() abstract HttpResponseFor<BetaManagedAgentsAgent> create(AgentCreateParams params, RequestOptions requestOptions)
-
retrieve
@MustBeClosed() HttpResponseFor<BetaManagedAgentsAgent> retrieve(String agentId)
Returns a raw HTTP response for
get /v1/agents/{agent_id}?beta=true, but is otherwise the same as AgentService.retrieve.
-
retrieve
@MustBeClosed() HttpResponseFor<BetaManagedAgentsAgent> retrieve(String agentId, AgentRetrieveParams params, RequestOptions requestOptions)
-
retrieve
@MustBeClosed() HttpResponseFor<BetaManagedAgentsAgent> retrieve(String agentId, AgentRetrieveParams params)
-
retrieve
@MustBeClosed() abstract HttpResponseFor<BetaManagedAgentsAgent> retrieve(AgentRetrieveParams params, RequestOptions requestOptions)
-
retrieve
@MustBeClosed() HttpResponseFor<BetaManagedAgentsAgent> retrieve(AgentRetrieveParams params)
-
retrieve
@MustBeClosed() HttpResponseFor<BetaManagedAgentsAgent> retrieve(String agentId, RequestOptions requestOptions)
-
update
@MustBeClosed() HttpResponseFor<BetaManagedAgentsAgent> update(String agentId, AgentUpdateParams params)
Returns a raw HTTP response for
post /v1/agents/{agent_id}?beta=true, but is otherwise the same as AgentService.update.
-
update
@MustBeClosed() HttpResponseFor<BetaManagedAgentsAgent> update(String agentId, AgentUpdateParams params, RequestOptions requestOptions)
-
update
@MustBeClosed() HttpResponseFor<BetaManagedAgentsAgent> update(AgentUpdateParams params)
-
update
@MustBeClosed() abstract HttpResponseFor<BetaManagedAgentsAgent> update(AgentUpdateParams params, RequestOptions requestOptions)
-
list
@MustBeClosed() HttpResponseFor<AgentListPage> list()
Returns a raw HTTP response for
get /v1/agents?beta=true, but is otherwise the same as AgentService.list.
-
list
@MustBeClosed() abstract HttpResponseFor<AgentListPage> list(AgentListParams params, RequestOptions requestOptions)
-
list
@MustBeClosed() HttpResponseFor<AgentListPage> list(AgentListParams params)
-
list
@MustBeClosed() HttpResponseFor<AgentListPage> list(RequestOptions requestOptions)
-
archive
@MustBeClosed() HttpResponseFor<BetaManagedAgentsAgent> archive(String agentId)
Returns a raw HTTP response for
post /v1/agents/{agent_id}/archive?beta=true, but is otherwise the same as AgentService.archive.
-
archive
@MustBeClosed() HttpResponseFor<BetaManagedAgentsAgent> archive(String agentId, AgentArchiveParams params, RequestOptions requestOptions)
-
archive
@MustBeClosed() HttpResponseFor<BetaManagedAgentsAgent> archive(String agentId, AgentArchiveParams params)
-
archive
@MustBeClosed() abstract HttpResponseFor<BetaManagedAgentsAgent> archive(AgentArchiveParams params, RequestOptions requestOptions)
-
archive
@MustBeClosed() HttpResponseFor<BetaManagedAgentsAgent> archive(AgentArchiveParams params)
-
archive
@MustBeClosed() HttpResponseFor<BetaManagedAgentsAgent> archive(String agentId, RequestOptions requestOptions)
-
-
-
-