Package com.openai.models.containers
Class ContainerCreateParams.ExpiresAfter
-
- All Implemented Interfaces:
public final class ContainerCreateParams.ExpiresAfter
Container expiration time in seconds relative to the 'anchor' time.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ContainerCreateParams.ExpiresAfter.Builder
A builder for ExpiresAfter.
public final class
ContainerCreateParams.ExpiresAfter.Anchor
Time anchor for the expiration time. Currently only 'last_active_at' is supported.
-
Method Summary
Modifier and Type Method Description final ContainerCreateParams.ExpiresAfter.Anchor
anchor()
Time anchor for the expiration time. final Long
minutes()
final JsonField<ContainerCreateParams.ExpiresAfter.Anchor>
_anchor()
Returns the raw JSON value of anchor. final JsonField<Long>
_minutes()
Returns the raw JSON value of minutes. final Map<String, JsonValue>
_additionalProperties()
final ContainerCreateParams.ExpiresAfter.Builder
toBuilder()
final ContainerCreateParams.ExpiresAfter
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ContainerCreateParams.ExpiresAfter.Builder
builder()
Returns a mutable builder for constructing an instance of ExpiresAfter. -
-
Method Detail
-
anchor
final ContainerCreateParams.ExpiresAfter.Anchor anchor()
Time anchor for the expiration time. Currently only 'last_active_at' is supported.
-
_anchor
final JsonField<ContainerCreateParams.ExpiresAfter.Anchor> _anchor()
Returns the raw JSON value of anchor.
Unlike anchor, this method doesn't throw if the JSON field has an unexpected type.
-
_minutes
final JsonField<Long> _minutes()
Returns the raw JSON value of minutes.
Unlike minutes, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ContainerCreateParams.ExpiresAfter.Builder toBuilder()
-
validate
final ContainerCreateParams.ExpiresAfter validate()
-
builder
final static ContainerCreateParams.ExpiresAfter.Builder builder()
Returns a mutable builder for constructing an instance of ExpiresAfter.
The following fields are required:
.anchor() .minutes()
-
-
-
-