Class ContainerRetrieveResponse
-
- All Implemented Interfaces:
public final class ContainerRetrieveResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ContainerRetrieveResponse.Builder
A builder for ContainerRetrieveResponse.
public final class
ContainerRetrieveResponse.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.
-
Method Summary
Modifier and Type Method Description final String
id()
Unique identifier for the container. final Long
createdAt()
Unix timestamp (in seconds) when the container was created. final String
name()
Name of the container. final String
object_()
The type of this object. final String
status()
Status of the container (e.g., active, deleted). final Optional<ContainerRetrieveResponse.ExpiresAfter>
expiresAfter()
The container will expire after this time period. final JsonField<String>
_id()
Returns the raw JSON value of id. final JsonField<Long>
_createdAt()
Returns the raw JSON value of createdAt. final JsonField<String>
_name()
Returns the raw JSON value of name. final JsonField<String>
_object_()
Returns the raw JSON value of object_. final JsonField<String>
_status()
Returns the raw JSON value of status. final JsonField<ContainerRetrieveResponse.ExpiresAfter>
_expiresAfter()
Returns the raw JSON value of expiresAfter. final Map<String, JsonValue>
_additionalProperties()
final ContainerRetrieveResponse.Builder
toBuilder()
final ContainerRetrieveResponse
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ContainerRetrieveResponse.Builder
builder()
Returns a mutable builder for constructing an instance of ContainerRetrieveResponse. -
-
Method Detail
-
expiresAfter
final Optional<ContainerRetrieveResponse.ExpiresAfter> 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.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_createdAt
final JsonField<Long> _createdAt()
Returns the raw JSON value of createdAt.
Unlike createdAt, this method doesn't throw if the JSON field has an unexpected type.
-
_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.
-
_object_
final JsonField<String> _object_()
Returns the raw JSON value of object_.
Unlike object_, this method doesn't throw if the JSON field has an unexpected type.
-
_status
final JsonField<String> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_expiresAfter
final JsonField<ContainerRetrieveResponse.ExpiresAfter> _expiresAfter()
Returns the raw JSON value of expiresAfter.
Unlike expiresAfter, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ContainerRetrieveResponse.Builder toBuilder()
-
validate
final ContainerRetrieveResponse validate()
-
builder
final static ContainerRetrieveResponse.Builder builder()
Returns a mutable builder for constructing an instance of ContainerRetrieveResponse.
The following fields are required:
.id() .createdAt() .name() .object_() .status()
-
-
-
-