Package com.openai.models.responses
Class ResponseInputItem.ShellCall.Environment
-
- All Implemented Interfaces:
public final class ResponseInputItem.ShellCall.EnvironmentThe environment to execute the shell commands in.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceResponseInputItem.ShellCall.Environment.VisitorAn interface that defines how to map each variant of Environment to a value of type T.
-
Method Summary
Modifier and Type Method Description final Optional<LocalEnvironment>local()final Optional<ContainerReference>containerReference()final BooleanisLocal()final BooleanisContainerReference()final LocalEnvironmentasLocal()final ContainerReferenceasContainerReference()final Optional<JsonValue>_json()final <T extends Any> Taccept(ResponseInputItem.ShellCall.Environment.Visitor<T> visitor)final ResponseInputItem.ShellCall.Environmentvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseInputItem.ShellCall.EnvironmentofLocal(LocalEnvironment local)final static ResponseInputItem.ShellCall.EnvironmentofContainerReference(ContainerReference containerReference)-
-
Method Detail
-
local
final Optional<LocalEnvironment> local()
-
containerReference
final Optional<ContainerReference> containerReference()
-
isContainerReference
final Boolean isContainerReference()
-
asLocal
final LocalEnvironment asLocal()
-
asContainerReference
final ContainerReference asContainerReference()
-
accept
final <T extends Any> T accept(ResponseInputItem.ShellCall.Environment.Visitor<T> visitor)
-
validate
final ResponseInputItem.ShellCall.Environment validate()
-
ofLocal
final static ResponseInputItem.ShellCall.Environment ofLocal(LocalEnvironment local)
-
ofContainerReference
final static ResponseInputItem.ShellCall.Environment ofContainerReference(ContainerReference containerReference)
-
-
-
-