Interface AgentServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface AgentServiceAsync.WithRawResponseA view of AgentServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
-
-
Method Detail
-
withOptions
abstract AgentServiceAsync.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 VersionServiceAsync.WithRawResponse versions()
-
create
CompletableFuture<HttpResponseFor<BetaManagedAgentsAgent>> create(AgentCreateParams params)
Returns a raw HTTP response for
post /v1/agents?beta=true, but is otherwise the same as AgentServiceAsync.create.
-
create
abstract CompletableFuture<HttpResponseFor<BetaManagedAgentsAgent>> create(AgentCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<HttpResponseFor<BetaManagedAgentsAgent>> retrieve(String agentId)
Returns a raw HTTP response for
get /v1/agents/{agent_id}?beta=true, but is otherwise the same as AgentServiceAsync.retrieve.
-
retrieve
CompletableFuture<HttpResponseFor<BetaManagedAgentsAgent>> retrieve(String agentId, AgentRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<HttpResponseFor<BetaManagedAgentsAgent>> retrieve(String agentId, AgentRetrieveParams params)
-
retrieve
abstract CompletableFuture<HttpResponseFor<BetaManagedAgentsAgent>> retrieve(AgentRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<HttpResponseFor<BetaManagedAgentsAgent>> retrieve(AgentRetrieveParams params)
-
retrieve
CompletableFuture<HttpResponseFor<BetaManagedAgentsAgent>> retrieve(String agentId, RequestOptions requestOptions)
-
update
CompletableFuture<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 AgentServiceAsync.update.
-
update
CompletableFuture<HttpResponseFor<BetaManagedAgentsAgent>> update(String agentId, AgentUpdateParams params, RequestOptions requestOptions)
-
update
CompletableFuture<HttpResponseFor<BetaManagedAgentsAgent>> update(AgentUpdateParams params)
-
update
abstract CompletableFuture<HttpResponseFor<BetaManagedAgentsAgent>> update(AgentUpdateParams params, RequestOptions requestOptions)
-
list
CompletableFuture<HttpResponseFor<AgentListPageAsync>> list()
Returns a raw HTTP response for
get /v1/agents?beta=true, but is otherwise the same as AgentServiceAsync.list.
-
list
abstract CompletableFuture<HttpResponseFor<AgentListPageAsync>> list(AgentListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<HttpResponseFor<AgentListPageAsync>> list(AgentListParams params)
-
list
CompletableFuture<HttpResponseFor<AgentListPageAsync>> list(RequestOptions requestOptions)
-
archive
CompletableFuture<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 AgentServiceAsync.archive.
-
archive
CompletableFuture<HttpResponseFor<BetaManagedAgentsAgent>> archive(String agentId, AgentArchiveParams params, RequestOptions requestOptions)
-
archive
CompletableFuture<HttpResponseFor<BetaManagedAgentsAgent>> archive(String agentId, AgentArchiveParams params)
-
archive
abstract CompletableFuture<HttpResponseFor<BetaManagedAgentsAgent>> archive(AgentArchiveParams params, RequestOptions requestOptions)
-
archive
CompletableFuture<HttpResponseFor<BetaManagedAgentsAgent>> archive(AgentArchiveParams params)
-
archive
CompletableFuture<HttpResponseFor<BetaManagedAgentsAgent>> archive(String agentId, RequestOptions requestOptions)
-
-
-
-