Class ContainerCreateResponse
-
- All Implemented Interfaces:
public final class ContainerCreateResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ContainerCreateResponse.Builder
A builder for ContainerCreateResponse.
public final class
ContainerCreateResponse.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<ContainerCreateResponse.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<ContainerCreateResponse.ExpiresAfter>
_expiresAfter()
Returns the raw JSON value of expiresAfter. final Map<String, JsonValue>
_additionalProperties()
final ContainerCreateResponse.Builder
toBuilder()
final ContainerCreateResponse
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ContainerCreateResponse.Builder
builder()
Returns a mutable builder for constructing an instance of ContainerCreateResponse. -
-
Method Detail
-
expiresAfter
final Optional<ContainerCreateResponse.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<ContainerCreateResponse.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 ContainerCreateResponse.Builder toBuilder()
-
validate
final ContainerCreateResponse validate()
-
builder
final static ContainerCreateResponse.Builder builder()
Returns a mutable builder for constructing an instance of ContainerCreateResponse.
The following fields are required:
.id() .createdAt() .name() .object_() .status()
-
-
-
-