Class BetaManagedAgentsSessionMultiagentCoordinator
-
- All Implemented Interfaces:
public final class BetaManagedAgentsSessionMultiagentCoordinatorResolved coordinator topology with full agent definitions for each roster member.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsSessionMultiagentCoordinator.BuilderA builder for BetaManagedAgentsSessionMultiagentCoordinator.
public final classBetaManagedAgentsSessionMultiagentCoordinator.AgentA session-resolved multiagent roster entry.
-
Method Summary
Modifier and Type Method Description final List<BetaManagedAgentsSessionMultiagentCoordinator.Agent>agents()Full agentdefinitions the coordinator may spawn as session threads.final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("coordinator")final JsonField<List<BetaManagedAgentsSessionMultiagentCoordinator.Agent>>_agents()Returns the raw JSON value of agents. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsSessionMultiagentCoordinator.BuildertoBuilder()final BetaManagedAgentsSessionMultiagentCoordinatorvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsSessionMultiagentCoordinator.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsSessionMultiagentCoordinator. final static BetaManagedAgentsSessionMultiagentCoordinatorof(List<BetaManagedAgentsSessionMultiagentCoordinator.Agent> agents)Returns an immutable instance of BetaManagedAgentsSessionMultiagentCoordinator with the required agents set to the given value. -
-
Method Detail
-
agents
final List<BetaManagedAgentsSessionMultiagentCoordinator.Agent> agents()
Full
agentdefinitions the coordinator may spawn as session threads.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("coordinator")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_agents
final JsonField<List<BetaManagedAgentsSessionMultiagentCoordinator.Agent>> _agents()
Returns the raw JSON value of agents.
Unlike agents, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsSessionMultiagentCoordinator.Builder toBuilder()
-
validate
final BetaManagedAgentsSessionMultiagentCoordinator 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 BetaManagedAgentsSessionMultiagentCoordinator.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsSessionMultiagentCoordinator.
The following fields are required:
.agents()
-
of
final static BetaManagedAgentsSessionMultiagentCoordinator of(List<BetaManagedAgentsSessionMultiagentCoordinator.Agent> agents)
Returns an immutable instance of BetaManagedAgentsSessionMultiagentCoordinator with the required agents set to the given value.
-
-
-
-