Class NotificationListResponse.Result.Notification
-
- All Implemented Interfaces:
public final class NotificationListResponse.Result.Notification
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classNotificationListResponse.Result.Notification.BuilderA builder for Notification.
public final classNotificationListResponse.Result.Notification.Tags
-
Method Summary
Modifier and Type Method Description final Stringid()final LongcreatedAt()final List<String>eventIds()Array of event IDs associated with this notification final MessageRoutingrouting()final StringtopicId()final LongupdatedAt()final Optional<String>note()final Optional<NotificationListResponse.Result.Notification.Tags>tags()final Optional<String>title()final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<Long>_createdAt()Returns the raw JSON value of createdAt. final JsonField<List<String>>_eventIds()Returns the raw JSON value of eventIds. final JsonField<MessageRouting>_routing()Returns the raw JSON value of routing. final JsonField<String>_topicId()Returns the raw JSON value of topicId. final JsonField<Long>_updatedAt()Returns the raw JSON value of updatedAt. final JsonField<String>_note()Returns the raw JSON value of note. final JsonField<NotificationListResponse.Result.Notification.Tags>_tags()Returns the raw JSON value of tags. final JsonField<String>_title()Returns the raw JSON value of title. final Map<String, JsonValue>_additionalProperties()final NotificationListResponse.Result.Notification.BuildertoBuilder()final NotificationListResponse.Result.Notificationvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static NotificationListResponse.Result.Notification.Builderbuilder()Returns a mutable builder for constructing an instance of Notification. -
-
Method Detail
-
routing
final MessageRouting routing()
-
tags
final Optional<NotificationListResponse.Result.Notification.Tags> tags()
-
_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.
-
_eventIds
final JsonField<List<String>> _eventIds()
Returns the raw JSON value of eventIds.
Unlike eventIds, this method doesn't throw if the JSON field has an unexpected type.
-
_routing
final JsonField<MessageRouting> _routing()
Returns the raw JSON value of routing.
Unlike routing, this method doesn't throw if the JSON field has an unexpected type.
-
_topicId
final JsonField<String> _topicId()
Returns the raw JSON value of topicId.
Unlike topicId, this method doesn't throw if the JSON field has an unexpected type.
-
_updatedAt
final JsonField<Long> _updatedAt()
Returns the raw JSON value of updatedAt.
Unlike updatedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_note
final JsonField<String> _note()
Returns the raw JSON value of note.
Unlike note, this method doesn't throw if the JSON field has an unexpected type.
-
_tags
final JsonField<NotificationListResponse.Result.Notification.Tags> _tags()
Returns the raw JSON value of tags.
Unlike tags, this method doesn't throw if the JSON field has an unexpected type.
-
_title
final JsonField<String> _title()
Returns the raw JSON value of title.
Unlike title, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final NotificationListResponse.Result.Notification.Builder toBuilder()
-
validate
final NotificationListResponse.Result.Notification validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static NotificationListResponse.Result.Notification.Builder builder()
Returns a mutable builder for constructing an instance of Notification.
The following fields are required:
.id() .createdAt() .eventIds() .routing() .topicId() .updatedAt()
-
-
-
-