Class BetaManagedAgentsAgent
-
- All Implemented Interfaces:
public final class BetaManagedAgentsAgentA Managed Agents
agent.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsAgent.BuilderA builder for BetaManagedAgentsAgent.
public final classBetaManagedAgentsAgent.Metadatapublic final classBetaManagedAgentsAgent.SkillResolved skill as returned in API responses.
public final classBetaManagedAgentsAgent.ToolUnion type for tool configurations returned in API responses.
public final classBetaManagedAgentsAgent.Type
-
Method Summary
Modifier and Type Method Description final Stringid()final Optional<OffsetDateTime>archivedAt()A timestamp in RFC 3339 format final OffsetDateTimecreatedAt()A timestamp in RFC 3339 format final Optional<String>description()final List<BetaManagedAgentsMcpServerUrlDefinition>mcpServers()final BetaManagedAgentsAgent.Metadatametadata()final BetaManagedAgentsModelConfigmodel()Model identifier and configuration. final Optional<BetaManagedAgentsMultiagent>multiagent()Resolved coordinator topology with a concrete agent roster. final Stringname()final List<BetaManagedAgentsAgent.Skill>skills()final Optional<String>system()final List<BetaManagedAgentsAgent.Tool>tools()final BetaManagedAgentsAgent.Typetype()final OffsetDateTimeupdatedAt()A timestamp in RFC 3339 format final Integerversion()The agent's current version. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<OffsetDateTime>_archivedAt()Returns the raw JSON value of archivedAt. final JsonField<OffsetDateTime>_createdAt()Returns the raw JSON value of createdAt. final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<List<BetaManagedAgentsMcpServerUrlDefinition>>_mcpServers()Returns the raw JSON value of mcpServers. final JsonField<BetaManagedAgentsAgent.Metadata>_metadata()Returns the raw JSON value of metadata. final JsonField<BetaManagedAgentsModelConfig>_model()Returns the raw JSON value of model. final JsonField<BetaManagedAgentsMultiagent>_multiagent()Returns the raw JSON value of multiagent. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<List<BetaManagedAgentsAgent.Skill>>_skills()Returns the raw JSON value of skills. final JsonField<String>_system()Returns the raw JSON value of system. final JsonField<List<BetaManagedAgentsAgent.Tool>>_tools()Returns the raw JSON value of tools. final JsonField<BetaManagedAgentsAgent.Type>_type()Returns the raw JSON value of type. final JsonField<OffsetDateTime>_updatedAt()Returns the raw JSON value of updatedAt. final JsonField<Integer>_version()Returns the raw JSON value of version. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsAgent.BuildertoBuilder()final BetaManagedAgentsAgentvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsAgent.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsAgent. -
-
Method Detail
-
archivedAt
final Optional<OffsetDateTime> archivedAt()
A timestamp in RFC 3339 format
-
createdAt
final OffsetDateTime createdAt()
A timestamp in RFC 3339 format
-
description
final Optional<String> description()
-
mcpServers
final List<BetaManagedAgentsMcpServerUrlDefinition> mcpServers()
-
metadata
final BetaManagedAgentsAgent.Metadata metadata()
-
model
final BetaManagedAgentsModelConfig model()
Model identifier and configuration.
-
multiagent
final Optional<BetaManagedAgentsMultiagent> multiagent()
Resolved coordinator topology with a concrete agent roster.
-
skills
final List<BetaManagedAgentsAgent.Skill> skills()
-
tools
final List<BetaManagedAgentsAgent.Tool> tools()
-
type
final BetaManagedAgentsAgent.Type type()
-
updatedAt
final OffsetDateTime updatedAt()
A timestamp in RFC 3339 format
-
version
final Integer version()
The agent's current version. Starts at 1 and increments when the agent is modified.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_archivedAt
final JsonField<OffsetDateTime> _archivedAt()
Returns the raw JSON value of archivedAt.
Unlike archivedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_createdAt
final JsonField<OffsetDateTime> _createdAt()
Returns the raw JSON value of createdAt.
Unlike createdAt, this method doesn't throw if the JSON field has an unexpected type.
-
_description
final JsonField<String> _description()
Returns the raw JSON value of description.
Unlike description, this method doesn't throw if the JSON field has an unexpected type.
-
_mcpServers
final JsonField<List<BetaManagedAgentsMcpServerUrlDefinition>> _mcpServers()
Returns the raw JSON value of mcpServers.
Unlike mcpServers, this method doesn't throw if the JSON field has an unexpected type.
-
_metadata
final JsonField<BetaManagedAgentsAgent.Metadata> _metadata()
Returns the raw JSON value of metadata.
Unlike metadata, this method doesn't throw if the JSON field has an unexpected type.
-
_model
final JsonField<BetaManagedAgentsModelConfig> _model()
Returns the raw JSON value of model.
Unlike model, this method doesn't throw if the JSON field has an unexpected type.
-
_multiagent
final JsonField<BetaManagedAgentsMultiagent> _multiagent()
Returns the raw JSON value of multiagent.
Unlike multiagent, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_skills
final JsonField<List<BetaManagedAgentsAgent.Skill>> _skills()
Returns the raw JSON value of skills.
Unlike skills, this method doesn't throw if the JSON field has an unexpected type.
-
_system
final JsonField<String> _system()
Returns the raw JSON value of system.
Unlike system, this method doesn't throw if the JSON field has an unexpected type.
-
_tools
final JsonField<List<BetaManagedAgentsAgent.Tool>> _tools()
Returns the raw JSON value of tools.
Unlike tools, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<BetaManagedAgentsAgent.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_updatedAt
final JsonField<OffsetDateTime> _updatedAt()
Returns the raw JSON value of updatedAt.
Unlike updatedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_version
final JsonField<Integer> _version()
Returns the raw JSON value of version.
Unlike version, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsAgent.Builder toBuilder()
-
validate
final BetaManagedAgentsAgent 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 BetaManagedAgentsAgent.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsAgent.
The following fields are required:
.id() .archivedAt() .createdAt() .description() .mcpServers() .metadata() .model() .multiagent() .name() .skills() .system() .tools() .type() .updatedAt() .version()
-
-
-
-