Package com.openai.models.containers
Class ContainerListResponse.ExpiresAfter
-
- All Implemented Interfaces:
public final class ContainerListResponse.ExpiresAfter
The container will expire after this time period. The anchor is the reference point for the expiration. The minutes is the number of minutes after the anchor before the container expires.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ContainerListResponse.ExpiresAfter.Builder
A builder for ExpiresAfter.
public final class
ContainerListResponse.ExpiresAfter.Anchor
The reference point for the expiration.
-
Method Summary
Modifier and Type Method Description final Optional<ContainerListResponse.ExpiresAfter.Anchor>
anchor()
The reference point for the expiration. final Optional<Long>
minutes()
The number of minutes after the anchor before the container expires. final JsonField<ContainerListResponse.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 ContainerListResponse.ExpiresAfter.Builder
toBuilder()
final ContainerListResponse.ExpiresAfter
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ContainerListResponse.ExpiresAfter.Builder
builder()
Returns a mutable builder for constructing an instance of ExpiresAfter. -
-
Method Detail
-
anchor
final Optional<ContainerListResponse.ExpiresAfter.Anchor> anchor()
The reference point for the expiration.
-
minutes
final Optional<Long> minutes()
The number of minutes after the anchor before the container expires.
-
_anchor
final JsonField<ContainerListResponse.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 ContainerListResponse.ExpiresAfter.Builder toBuilder()
-
validate
final ContainerListResponse.ExpiresAfter validate()
-
builder
final static ContainerListResponse.ExpiresAfter.Builder builder()
Returns a mutable builder for constructing an instance of ExpiresAfter.
-
-
-
-