Interface BetaManagedAgentsMultiagentPredefinedAgentParams.Visitor
-
- All Implemented Interfaces:
public interface BetaManagedAgentsMultiagentPredefinedAgentParams.Visitor<T extends Object>An interface that defines how to map each variant of BetaManagedAgentsMultiagentPredefinedAgentParams to a value of type T.
-
-
Method Summary
Modifier and Type Method Description abstract TvisitString(String string)abstract TvisitBetaManagedAgentsAgentParams(BetaManagedAgentsAgentParams betaManagedAgentsAgentParams)Specification for an Agent. abstract TvisitSelf(BetaManagedAgentsMultiagentSelfParams self)Sentinel roster entry meaning "the agent that owns this configuration". Tunknown(JsonValue json)Maps an unknown variant of BetaManagedAgentsMultiagentPredefinedAgentParams to a value of type T. -
-
Method Detail
-
visitString
abstract T visitString(String string)
-
visitBetaManagedAgentsAgentParams
abstract T visitBetaManagedAgentsAgentParams(BetaManagedAgentsAgentParams betaManagedAgentsAgentParams)
Specification for an Agent. Provide a specific
versionor use the short-formagent="agent_id"for the most recent version
-
visitSelf
abstract T visitSelf(BetaManagedAgentsMultiagentSelfParams self)
Sentinel roster entry meaning "the agent that owns this configuration". Resolved server-side to a concrete agent reference.
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of BetaManagedAgentsMultiagentPredefinedAgentParams to a value of type T.
An instance of BetaManagedAgentsMultiagentPredefinedAgentParams can contain an unknown variant if it was deserialized from data that doesn't match any known variant. For example, if the SDK is on an older version than the API, then the API may respond with new variants that the SDK is unaware of.
-
-
-
-