Class Object
-
- All Implemented Interfaces:
public final class ObjectA custom /concepts/objects entity which belongs to a collection.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classObject.BuilderA builder for Object.
-
Method Summary
Modifier and Type Method Description final Stringid()Unique identifier for the object. final String_typename()The typename of the schema. final Stringcollection()The collection this object belongs to. final OffsetDateTimeupdatedAt()The timestamp when the resource was last updated. final Optional<OffsetDateTime>createdAt()Timestamp when the resource was created. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>__typename()Returns the raw JSON value of _typename. final JsonField<String>_collection()Returns the raw JSON value of collection. final JsonField<OffsetDateTime>_updatedAt()Returns the raw JSON value of updatedAt. final JsonField<OffsetDateTime>_createdAt()Returns the raw JSON value of createdAt. final Map<String, JsonValue>_additionalProperties()final Object.BuildertoBuilder()final Objectvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Object.Builderbuilder()Returns a mutable builder for constructing an instance of Object. -
-
Method Detail
-
collection
final String collection()
The collection this object belongs to.
-
updatedAt
final OffsetDateTime updatedAt()
The timestamp when the resource was last updated.
-
createdAt
final Optional<OffsetDateTime> createdAt()
Timestamp when the resource was created.
-
_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.
-
__typename
final JsonField<String> __typename()
Returns the raw JSON value of _typename.
Unlike _typename, this method doesn't throw if the JSON field has an unexpected type.
-
_collection
final JsonField<String> _collection()
Returns the raw JSON value of collection.
Unlike collection, this method doesn't throw if the JSON field has an unexpected type.
-
_updatedAt
final JsonField<OffsetDateTime> _updatedAt()
Returns the raw JSON value of updatedAt.
Unlike updatedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_createdAt
final JsonField<OffsetDateTime> _createdAt()
Returns the raw JSON value of createdAt.
Unlike createdAt, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Object.Builder toBuilder()
-
builder
final static Object.Builder builder()
Returns a mutable builder for constructing an instance of Object.
The following fields are required:
.id() ._typename() .collection() .updatedAt()
-
-
-
-