Class BetaManagedAgentsSessionMultiagentSubagentsEnabled
-
- All Implemented Interfaces:
public final class BetaManagedAgentsSessionMultiagentSubagentsEnabledThe agent can spawn session threads.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsSessionMultiagentSubagentsEnabled.BuilderA builder for BetaManagedAgentsSessionMultiagentSubagentsEnabled.
-
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<BetaManagedAgentsSessionThreadAgent>predefinedAgents()Full agentdefinitions of the predefined agents, which are saved agents that this agent can 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("enabled")final JsonField<BetaManagedAgentsMultiagentInlineAgents>_inlineAgents()Returns the raw JSON value of inlineAgents. final JsonField<List<BetaManagedAgentsSessionThreadAgent>>_predefinedAgents()Returns the raw JSON value of predefinedAgents. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsSessionMultiagentSubagentsEnabled.BuildertoBuilder()final BetaManagedAgentsSessionMultiagentSubagentsEnabledvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsSessionMultiagentSubagentsEnabled.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsSessionMultiagentSubagentsEnabled. -
-
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<BetaManagedAgentsSessionThreadAgent> predefinedAgents()
Full
agentdefinitions of the predefined agents, which are saved agents that this agent can spawn as session threads.
-
_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<BetaManagedAgentsSessionThreadAgent>> _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 BetaManagedAgentsSessionMultiagentSubagentsEnabled.Builder toBuilder()
-
validate
final BetaManagedAgentsSessionMultiagentSubagentsEnabled 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 BetaManagedAgentsSessionMultiagentSubagentsEnabled.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsSessionMultiagentSubagentsEnabled.
The following fields are required:
.inlineAgents() .predefinedAgents()
-
-
-
-