Class BetaManagedAgentsSessionMultiagentWorkflowsEnabled
-
- All Implemented Interfaces:
public final class BetaManagedAgentsSessionMultiagentWorkflowsEnabledThe agent can start workflow runs.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsSessionMultiagentWorkflowsEnabled.BuilderA builder for BetaManagedAgentsSessionMultiagentWorkflowsEnabled.
-
Method Summary
Modifier and Type Method Description final BetaManagedAgentsMultiagentInlineAgentsinlineAgents()Whether a run's plan can define inline agents, which are not saved. final List<BetaManagedAgentsSessionThreadAgent>predefinedAgents()Full agentdefinitions of the predefined agents, which are saved agents that a run's plan can use.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 BetaManagedAgentsSessionMultiagentWorkflowsEnabled.BuildertoBuilder()final BetaManagedAgentsSessionMultiagentWorkflowsEnabledvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsSessionMultiagentWorkflowsEnabled.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsSessionMultiagentWorkflowsEnabled. -
-
Method Detail
-
inlineAgents
final BetaManagedAgentsMultiagentInlineAgents inlineAgents()
Whether a run's plan can define inline agents, which are not saved.
-
predefinedAgents
final List<BetaManagedAgentsSessionThreadAgent> predefinedAgents()
Full
agentdefinitions of the predefined agents, which are saved agents that a run's plan can use.
-
_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 BetaManagedAgentsSessionMultiagentWorkflowsEnabled.Builder toBuilder()
-
validate
final BetaManagedAgentsSessionMultiagentWorkflowsEnabled 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 BetaManagedAgentsSessionMultiagentWorkflowsEnabled.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsSessionMultiagentWorkflowsEnabled.
The following fields are required:
.inlineAgents() .predefinedAgents()
-
-
-
-