Package com.anthropic.models.beta.agents
Class AgentListPageResponse
-
- All Implemented Interfaces:
public final class AgentListPageResponsePaginated list of agents.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAgentListPageResponse.BuilderA builder for AgentListPageResponse.
-
Method Summary
Modifier and Type Method Description final List<BetaManagedAgentsAgent>data()List of agents. final Optional<String>nextPage()Opaque cursor for the next page. final JsonField<List<BetaManagedAgentsAgent>>_data()Returns the raw JSON value of data. final JsonField<String>_nextPage()Returns the raw JSON value of nextPage. final Map<String, JsonValue>_additionalProperties()final AgentListPageResponse.BuildertoBuilder()final AgentListPageResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static AgentListPageResponse.Builderbuilder()Returns a mutable builder for constructing an instance of AgentListPageResponse. -
-
Method Detail
-
data
final List<BetaManagedAgentsAgent> data()
List of agents.
-
nextPage
final Optional<String> nextPage()
Opaque cursor for the next page. Null when no more results.
-
_data
final JsonField<List<BetaManagedAgentsAgent>> _data()
Returns the raw JSON value of data.
Unlike data, this method doesn't throw if the JSON field has an unexpected type.
-
_nextPage
final JsonField<String> _nextPage()
Returns the raw JSON value of nextPage.
Unlike nextPage, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final AgentListPageResponse.Builder toBuilder()
-
validate
final AgentListPageResponse validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static AgentListPageResponse.Builder builder()
Returns a mutable builder for constructing an instance of AgentListPageResponse.
The following fields are required:
.data()
-
-
-
-