Class Subscription
-
- All Implemented Interfaces:
public final class SubscriptionA subscription object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSubscription.BuilderA builder for Subscription.
public final classSubscription.PropertiesThe custom properties associated with the subscription relationship.
-
Method Summary
Modifier and Type Method Description final String_typename()The typename of the schema. final OffsetDateTimeinsertedAt()Timestamp when the resource was created. final Objectobject_()A custom /concepts/objects entity which belongs to a collection. final Recipientrecipient()A recipient of a notification, which is either a user or an object. final OffsetDateTimeupdatedAt()The timestamp when the resource was last updated. final Optional<Subscription.Properties>properties()The custom properties associated with the subscription relationship. final JsonField<String>__typename()Returns the raw JSON value of _typename. final JsonField<OffsetDateTime>_insertedAt()Returns the raw JSON value of insertedAt. final JsonField<Object>_object_()Returns the raw JSON value of object_. final JsonField<Recipient>_recipient()Returns the raw JSON value of recipient. final JsonField<OffsetDateTime>_updatedAt()Returns the raw JSON value of updatedAt. final JsonField<Subscription.Properties>_properties()Returns the raw JSON value of properties. final Map<String, JsonValue>_additionalProperties()final Subscription.BuildertoBuilder()final Subscriptionvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Subscription.Builderbuilder()Returns a mutable builder for constructing an instance of Subscription. -
-
Method Detail
-
insertedAt
final OffsetDateTime insertedAt()
Timestamp when the resource was created.
-
recipient
final Recipient recipient()
A recipient of a notification, which is either a user or an object.
-
updatedAt
final OffsetDateTime updatedAt()
The timestamp when the resource was last updated.
-
properties
final Optional<Subscription.Properties> properties()
The custom properties associated with the subscription relationship.
-
__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.
-
_insertedAt
final JsonField<OffsetDateTime> _insertedAt()
Returns the raw JSON value of insertedAt.
Unlike insertedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_object_
final JsonField<Object> _object_()
Returns the raw JSON value of object_.
Unlike object_, this method doesn't throw if the JSON field has an unexpected type.
-
_recipient
final JsonField<Recipient> _recipient()
Returns the raw JSON value of recipient.
Unlike recipient, 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.
-
_properties
final JsonField<Subscription.Properties> _properties()
Returns the raw JSON value of properties.
Unlike properties, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Subscription.Builder toBuilder()
-
validate
final Subscription validate()
-
builder
final static Subscription.Builder builder()
Returns a mutable builder for constructing an instance of Subscription.
The following fields are required:
._typename() .insertedAt() .object_() .recipient() .updatedAt()
-
-
-
-