Interface DeploymentUpdateParams.Resource.Visitor
-
- All Implemented Interfaces:
public interface DeploymentUpdateParams.Resource.Visitor<T extends Object>
-
-
Method Summary
Modifier and Type Method Description abstract TvisitGitHubRepository(BetaManagedAgentsGitHubRepositoryResourceParams githubRepository)Mount a GitHub repository into the session's container. abstract TvisitFile(BetaManagedAgentsFileResourceParams file)Mount a file uploaded via the Files API into the session. abstract TvisitMemoryStore(BetaManagedAgentsMemoryStoreResourceParam memoryStore)Parameters for attaching a memory store to an agent session. Tunknown(JsonValue json)Maps an unknown variant of Resource to a value of type T. -
-
Method Detail
-
visitGitHubRepository
abstract T visitGitHubRepository(BetaManagedAgentsGitHubRepositoryResourceParams githubRepository)
Mount a GitHub repository into the session's container.
-
visitFile
abstract T visitFile(BetaManagedAgentsFileResourceParams file)
Mount a file uploaded via the Files API into the session.
-
visitMemoryStore
abstract T visitMemoryStore(BetaManagedAgentsMemoryStoreResourceParam memoryStore)
Parameters for attaching a memory store to an agent session.
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of Resource to a value of type T.
An instance of Resource 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.
-
-
-
-