Package com.openai.models.containers
Class ContainerListResponse.NetworkPolicy
-
- All Implemented Interfaces:
public final class ContainerListResponse.NetworkPolicyNetwork access policy for the container.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classContainerListResponse.NetworkPolicy.BuilderA builder for NetworkPolicy.
public final classContainerListResponse.NetworkPolicy.TypeThe network policy mode.
-
Method Summary
Modifier and Type Method Description final ContainerListResponse.NetworkPolicy.Typetype()The network policy mode. final Optional<List<String>>allowedDomains()Allowed outbound domains when typeisallowlist.final JsonField<ContainerListResponse.NetworkPolicy.Type>_type()Returns the raw JSON value of type. final JsonField<List<String>>_allowedDomains()Returns the raw JSON value of allowedDomains. final Map<String, JsonValue>_additionalProperties()final ContainerListResponse.NetworkPolicy.BuildertoBuilder()final ContainerListResponse.NetworkPolicyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ContainerListResponse.NetworkPolicy.Builderbuilder()Returns a mutable builder for constructing an instance of NetworkPolicy. -
-
Method Detail
-
type
final ContainerListResponse.NetworkPolicy.Type type()
The network policy mode.
-
allowedDomains
final Optional<List<String>> allowedDomains()
Allowed outbound domains when
typeisallowlist.
-
_type
final JsonField<ContainerListResponse.NetworkPolicy.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_allowedDomains
final JsonField<List<String>> _allowedDomains()
Returns the raw JSON value of allowedDomains.
Unlike allowedDomains, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ContainerListResponse.NetworkPolicy.Builder toBuilder()
-
validate
final ContainerListResponse.NetworkPolicy validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ContainerListResponse.NetworkPolicy.Builder builder()
Returns a mutable builder for constructing an instance of NetworkPolicy.
The following fields are required:
.type()
-
-
-
-