Package com.openai.models.beta.responses
Class BetaContainerReference
-
- All Implemented Interfaces:
public final class BetaContainerReference
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaContainerReference.BuilderA builder for BetaContainerReference.
-
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 BetaContainerReference.BuildertoBuilder()final BetaContainerReferencevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaContainerReference.Builderbuilder()Returns a mutable builder for constructing an instance of BetaContainerReference. -
-
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 BetaContainerReference.Builder toBuilder()
-
validate
final BetaContainerReference 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 BetaContainerReference.Builder builder()
Returns a mutable builder for constructing an instance of BetaContainerReference.
The following fields are required:
.containerId()
-
-
-
-