Package com.openai.models.containers
Class ContainerRetrieveResponse.NetworkPolicy
-
- All Implemented Interfaces:
public final class ContainerRetrieveResponse.NetworkPolicyNetwork access policy for the container.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classContainerRetrieveResponse.NetworkPolicy.BuilderA builder for NetworkPolicy.
public final classContainerRetrieveResponse.NetworkPolicy.TypeThe network policy mode.
-
Method Summary
Modifier and Type Method Description final ContainerRetrieveResponse.NetworkPolicy.Typetype()The network policy mode. final Optional<List<String>>allowedDomains()Allowed outbound domains when typeisallowlist.final JsonField<ContainerRetrieveResponse.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 ContainerRetrieveResponse.NetworkPolicy.BuildertoBuilder()final ContainerRetrieveResponse.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 ContainerRetrieveResponse.NetworkPolicy.Builderbuilder()Returns a mutable builder for constructing an instance of NetworkPolicy. -
-
Method Detail
-
type
final ContainerRetrieveResponse.NetworkPolicy.Type type()
The network policy mode.
-
allowedDomains
final Optional<List<String>> allowedDomains()
Allowed outbound domains when
typeisallowlist.
-
_type
final JsonField<ContainerRetrieveResponse.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 ContainerRetrieveResponse.NetworkPolicy.Builder toBuilder()
-
validate
final ContainerRetrieveResponse.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 ContainerRetrieveResponse.NetworkPolicy.Builder builder()
Returns a mutable builder for constructing an instance of NetworkPolicy.
The following fields are required:
.type()
-
-
-
-