Package com.openai.models.responses
Class Tool.CodeInterpreter.Container.CodeInterpreterToolAuto.NetworkPolicy
-
- All Implemented Interfaces:
public final class Tool.CodeInterpreter.Container.CodeInterpreterToolAuto.NetworkPolicyNetwork access policy for the container.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceTool.CodeInterpreter.Container.CodeInterpreterToolAuto.NetworkPolicy.VisitorAn interface that defines how to map each variant of NetworkPolicy to a value of type T.
-
Method Summary
Modifier and Type Method Description final Optional<ContainerNetworkPolicyDisabled>disabled()final Optional<ContainerNetworkPolicyAllowlist>allowlist()final BooleanisDisabled()final BooleanisAllowlist()final ContainerNetworkPolicyDisabledasDisabled()final ContainerNetworkPolicyAllowlistasAllowlist()final Optional<JsonValue>_json()final <T extends Any> Taccept(Tool.CodeInterpreter.Container.CodeInterpreterToolAuto.NetworkPolicy.Visitor<T> visitor)final Tool.CodeInterpreter.Container.CodeInterpreterToolAuto.NetworkPolicyvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Tool.CodeInterpreter.Container.CodeInterpreterToolAuto.NetworkPolicyofDisabled(ContainerNetworkPolicyDisabled disabled)final static Tool.CodeInterpreter.Container.CodeInterpreterToolAuto.NetworkPolicyofAllowlist(ContainerNetworkPolicyAllowlist allowlist)-
-
Method Detail
-
disabled
final Optional<ContainerNetworkPolicyDisabled> disabled()
-
allowlist
final Optional<ContainerNetworkPolicyAllowlist> allowlist()
-
isDisabled
final Boolean isDisabled()
-
isAllowlist
final Boolean isAllowlist()
-
asDisabled
final ContainerNetworkPolicyDisabled asDisabled()
-
asAllowlist
final ContainerNetworkPolicyAllowlist asAllowlist()
-
accept
final <T extends Any> T accept(Tool.CodeInterpreter.Container.CodeInterpreterToolAuto.NetworkPolicy.Visitor<T> visitor)
-
ofDisabled
final static Tool.CodeInterpreter.Container.CodeInterpreterToolAuto.NetworkPolicy ofDisabled(ContainerNetworkPolicyDisabled disabled)
-
ofAllowlist
final static Tool.CodeInterpreter.Container.CodeInterpreterToolAuto.NetworkPolicy ofAllowlist(ContainerNetworkPolicyAllowlist allowlist)
-
-
-
-