Package com.openai.models.containers
Class ContainerCreateParams.Body
-
- All Implemented Interfaces:
public final class ContainerCreateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classContainerCreateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Stringname()Name of the container to create. final Optional<ContainerCreateParams.ExpiresAfter>expiresAfter()Container expiration time in seconds relative to the 'anchor' time. final Optional<List<String>>fileIds()IDs of files to copy to the container. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<ContainerCreateParams.ExpiresAfter>_expiresAfter()Returns the raw JSON value of expiresAfter. final JsonField<List<String>>_fileIds()Returns the raw JSON value of fileIds. final Map<String, JsonValue>_additionalProperties()final ContainerCreateParams.Body.BuildertoBuilder()final ContainerCreateParams.Bodyvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ContainerCreateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
expiresAfter
final Optional<ContainerCreateParams.ExpiresAfter> expiresAfter()
Container expiration time in seconds relative to the 'anchor' time.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_expiresAfter
final JsonField<ContainerCreateParams.ExpiresAfter> _expiresAfter()
Returns the raw JSON value of expiresAfter.
Unlike expiresAfter, this method doesn't throw if the JSON field has an unexpected type.
-
_fileIds
final JsonField<List<String>> _fileIds()
Returns the raw JSON value of fileIds.
Unlike fileIds, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ContainerCreateParams.Body.Builder toBuilder()
-
validate
final ContainerCreateParams.Body validate()
-
builder
final static ContainerCreateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.name()
-
-
-
-