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