Package com.openai.models.responses
Class ContainerReference
-
- All Implemented Interfaces:
public final class ContainerReference
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classContainerReference.BuilderA builder for ContainerReference.
-
Method Summary
Modifier and Type Method Description final StringcontainerId()The ID of the referenced container. final JsonValue_type()References a container created with the /v1/containers endpointExpected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("container_reference")final JsonField<String>_containerId()Returns the raw JSON value of containerId. final Map<String, JsonValue>_additionalProperties()final ContainerReference.BuildertoBuilder()final ContainerReferencevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ContainerReference.Builderbuilder()Returns a mutable builder for constructing an instance of ContainerReference. -
-
Method Detail
-
containerId
final String containerId()
The ID of the referenced container.
-
_type
final JsonValue _type()
References a container created with the /v1/containers endpoint
Expected to always return the following:
JsonValue.from("container_reference")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_containerId
final JsonField<String> _containerId()
Returns the raw JSON value of containerId.
Unlike containerId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ContainerReference.Builder toBuilder()
-
validate
final ContainerReference validate()
-
builder
final static ContainerReference.Builder builder()
Returns a mutable builder for constructing an instance of ContainerReference.
The following fields are required:
.containerId()
-
-
-
-