Package com.openai.models.responses
Class ResponseContainerReference
-
- All Implemented Interfaces:
public final class ResponseContainerReferenceRepresents a container created with /v1/containers.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseContainerReference.BuilderA builder for ResponseContainerReference.
-
Method Summary
Modifier and Type Method Description final StringcontainerId()final JsonValue_type()The environment type. final JsonField<String>_containerId()Returns the raw JSON value of containerId. final Map<String, JsonValue>_additionalProperties()final ResponseContainerReference.BuildertoBuilder()final ResponseContainerReferencevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseContainerReference.Builderbuilder()Returns a mutable builder for constructing an instance of ResponseContainerReference. -
-
Method Detail
-
containerId
final String containerId()
-
_type
final JsonValue _type()
The environment type. Always
container_reference.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 ResponseContainerReference.Builder toBuilder()
-
validate
final ResponseContainerReference 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 ResponseContainerReference.Builder builder()
Returns a mutable builder for constructing an instance of ResponseContainerReference.
The following fields are required:
.containerId()
-
-
-
-