Interface BetaManagedAgentsSessionResourceConfig.Visitor
-
- All Implemented Interfaces:
public interface BetaManagedAgentsSessionResourceConfig.Visitor<T extends Object>An interface that defines how to map each variant of BetaManagedAgentsSessionResourceConfig to a value of type T.
-
-
Method Summary
Modifier and Type Method Description abstract TvisitGitHubRepository(BetaManagedAgentsGitHubRepositoryResourceConfig githubRepository)A GitHub repository mounted into each session's container. abstract TvisitFile(BetaManagedAgentsFileResourceConfig file)A file mounted into each session's container. abstract TvisitMemoryStore(BetaManagedAgentsMemoryStoreResourceConfig memoryStore)A memory store attached to each session created from this deployment. Tunknown(JsonValue json)Maps an unknown variant of BetaManagedAgentsSessionResourceConfig to a value of type T. -
-
Method Detail
-
visitGitHubRepository
abstract T visitGitHubRepository(BetaManagedAgentsGitHubRepositoryResourceConfig githubRepository)
A GitHub repository mounted into each session's container. The authorization token is write-only and never returned.
-
visitFile
abstract T visitFile(BetaManagedAgentsFileResourceConfig file)
A file mounted into each session's container.
-
visitMemoryStore
abstract T visitMemoryStore(BetaManagedAgentsMemoryStoreResourceConfig memoryStore)
A memory store attached to each session created from this deployment.
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of BetaManagedAgentsSessionResourceConfig to a value of type T.
An instance of BetaManagedAgentsSessionResourceConfig 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.
-
-
-
-