Package com.anthropic.models.beta.agents
Interface BetaManagedAgentsWebFetchUrlSourceUserInput.Visitor
-
- All Implemented Interfaces:
public interface BetaManagedAgentsWebFetchUrlSourceUserInput.Visitor<T extends Object>An interface that defines how to map each variant of BetaManagedAgentsWebFetchUrlSourceUserInput to a value of type T.
-
-
Method Summary
Modifier and Type Method Description abstract TvisitAll(BetaManagedAgentsWebFetchUrlSourceAll all)Every URL from this source may be fetched. abstract TvisitNone(BetaManagedAgentsWebFetchUrlSourceNone none)This source contributes no URLs that may be fetched. Tunknown(JsonValue json)Maps an unknown variant of BetaManagedAgentsWebFetchUrlSourceUserInput to a value of type T. -
-
Method Detail
-
visitAll
abstract T visitAll(BetaManagedAgentsWebFetchUrlSourceAll all)
Every URL from this source may be fetched. This is the default.
-
visitNone
abstract T visitNone(BetaManagedAgentsWebFetchUrlSourceNone none)
This source contributes no URLs that may be fetched.
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of BetaManagedAgentsWebFetchUrlSourceUserInput to a value of type T.
An instance of BetaManagedAgentsWebFetchUrlSourceUserInput 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.
-
-
-
-