Class NotificationListResponse.Result.Notification.Builder
-
- All Implemented Interfaces:
public final class NotificationListResponse.Result.Notification.BuilderA builder for Notification.
-
-
Method Summary
-
-
Method Detail
-
id
final NotificationListResponse.Result.Notification.Builder id(String id)
-
id
final NotificationListResponse.Result.Notification.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdAt
final NotificationListResponse.Result.Notification.Builder createdAt(Long createdAt)
-
createdAt
final NotificationListResponse.Result.Notification.Builder createdAt(JsonField<Long> createdAt)
Sets Builder.createdAt to an arbitrary JSON value.
You should usually call Builder.createdAt with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
eventIds
final NotificationListResponse.Result.Notification.Builder eventIds(List<String> eventIds)
Array of event IDs associated with this notification
-
eventIds
final NotificationListResponse.Result.Notification.Builder eventIds(JsonField<List<String>> eventIds)
Sets Builder.eventIds to an arbitrary JSON value.
You should usually call Builder.eventIds with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addEventId
final NotificationListResponse.Result.Notification.Builder addEventId(String eventId)
-
note
final NotificationListResponse.Result.Notification.Builder note(String note)
-
note
final NotificationListResponse.Result.Notification.Builder note(JsonField<String> note)
Sets Builder.note to an arbitrary JSON value.
You should usually call Builder.note with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
routing
final NotificationListResponse.Result.Notification.Builder routing(MessageRouting routing)
-
routing
final NotificationListResponse.Result.Notification.Builder routing(JsonField<MessageRouting> routing)
Sets Builder.routing to an arbitrary JSON value.
You should usually call Builder.routing with a well-typed MessageRouting value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
topicId
final NotificationListResponse.Result.Notification.Builder topicId(String topicId)
-
topicId
final NotificationListResponse.Result.Notification.Builder topicId(JsonField<String> topicId)
Sets Builder.topicId to an arbitrary JSON value.
You should usually call Builder.topicId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
updatedAt
final NotificationListResponse.Result.Notification.Builder updatedAt(Long updatedAt)
-
updatedAt
final NotificationListResponse.Result.Notification.Builder updatedAt(JsonField<Long> updatedAt)
Sets Builder.updatedAt to an arbitrary JSON value.
You should usually call Builder.updatedAt with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
tags
final NotificationListResponse.Result.Notification.Builder tags(NotificationListResponse.Result.Notification.Tags tags)
-
tags
final NotificationListResponse.Result.Notification.Builder tags(Optional<NotificationListResponse.Result.Notification.Tags> tags)
Alias for calling Builder.tags with
tags.orElse(null).
-
tags
final NotificationListResponse.Result.Notification.Builder tags(JsonField<NotificationListResponse.Result.Notification.Tags> tags)
Sets Builder.tags to an arbitrary JSON value.
You should usually call Builder.tags with a well-typed Tags value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
title
final NotificationListResponse.Result.Notification.Builder title(String title)
-
title
final NotificationListResponse.Result.Notification.Builder title(Optional<String> title)
Alias for calling Builder.title with
title.orElse(null).
-
title
final NotificationListResponse.Result.Notification.Builder title(JsonField<String> title)
Sets Builder.title to an arbitrary JSON value.
You should usually call Builder.title with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final NotificationListResponse.Result.Notification.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final NotificationListResponse.Result.Notification.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final NotificationListResponse.Result.Notification.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final NotificationListResponse.Result.Notification.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final NotificationListResponse.Result.Notification.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final NotificationListResponse.Result.Notification build()
Returns an immutable instance of Notification.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .createdAt() .eventIds() .note() .routing() .topicId() .updatedAt()
-
-
-
-