Class BetaManagedAgentsMultiagentSubagentsEnabled
-
- All Implemented Interfaces:
public final class BetaManagedAgentsMultiagentSubagentsEnabledThe agent can spawn session threads.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsMultiagentSubagentsEnabled.BuilderA builder for BetaManagedAgentsMultiagentSubagentsEnabled.
-
Method Summary
Modifier and Type Method Description final BetaManagedAgentsMultiagentInlineAgentsinlineAgents()Whether the agent can define inline agents, which are not saved, when it spawns session threads. final List<BetaManagedAgentsAgentReference>predefinedAgents()Predefined agents, which are saved agents that this agent can spawn as session threads, each resolved to a specific version. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("enabled")final JsonField<BetaManagedAgentsMultiagentInlineAgents>_inlineAgents()Returns the raw JSON value of inlineAgents. final JsonField<List<BetaManagedAgentsAgentReference>>_predefinedAgents()Returns the raw JSON value of predefinedAgents. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsMultiagentSubagentsEnabled.BuildertoBuilder()final BetaManagedAgentsMultiagentSubagentsEnabledvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsMultiagentSubagentsEnabled.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsMultiagentSubagentsEnabled. -
-
Method Detail
-
inlineAgents
final BetaManagedAgentsMultiagentInlineAgents inlineAgents()
Whether the agent can define inline agents, which are not saved, when it spawns session threads.
-
predefinedAgents
final List<BetaManagedAgentsAgentReference> predefinedAgents()
Predefined agents, which are saved agents that this agent can spawn as session threads, each resolved to a specific version.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("enabled")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_inlineAgents
final JsonField<BetaManagedAgentsMultiagentInlineAgents> _inlineAgents()
Returns the raw JSON value of inlineAgents.
Unlike inlineAgents, this method doesn't throw if the JSON field has an unexpected type.
-
_predefinedAgents
final JsonField<List<BetaManagedAgentsAgentReference>> _predefinedAgents()
Returns the raw JSON value of predefinedAgents.
Unlike predefinedAgents, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsMultiagentSubagentsEnabled.Builder toBuilder()
-
validate
final BetaManagedAgentsMultiagentSubagentsEnabled 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 BetaManagedAgentsMultiagentSubagentsEnabled.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsMultiagentSubagentsEnabled.
The following fields are required:
.inlineAgents() .predefinedAgents()
-
-
-
-