Interface BetaManagedAgentsMultiagentRosterEntryParams.Visitor
-
- All Implemented Interfaces:
public interface BetaManagedAgentsMultiagentRosterEntryParams.Visitor<T extends Object>An interface that defines how to map each variant of BetaManagedAgentsMultiagentRosterEntryParams to a value of type T.
-
-
Method Summary
Modifier and Type Method Description abstract TvisitString(String string)abstract TvisitAgent(BetaManagedAgentsAgentParams agent)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 BetaManagedAgentsMultiagentRosterEntryParams to a value of type T. -
-
Method Detail
-
visitString
abstract T visitString(String string)
-
visitAgent
abstract T visitAgent(BetaManagedAgentsAgentParams agent)
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 BetaManagedAgentsMultiagentRosterEntryParams to a value of type T.
An instance of BetaManagedAgentsMultiagentRosterEntryParams 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.
-
-
-
-