Package com.courier.models.notifications
Class NotificationGetContent.Channel.Content.Builder
-
- All Implemented Interfaces:
public final class NotificationGetContent.Channel.Content.BuilderA builder for Content.
-
-
Method Summary
-
-
Method Detail
-
subject
final NotificationGetContent.Channel.Content.Builder subject(String subject)
-
subject
final NotificationGetContent.Channel.Content.Builder subject(Optional<String> subject)
Alias for calling Builder.subject with
subject.orElse(null).
-
subject
final NotificationGetContent.Channel.Content.Builder subject(JsonField<String> subject)
Sets Builder.subject to an arbitrary JSON value.
You should usually call Builder.subject with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
title
final NotificationGetContent.Channel.Content.Builder title(String title)
-
title
final NotificationGetContent.Channel.Content.Builder title(Optional<String> title)
Alias for calling Builder.title with
title.orElse(null).
-
title
final NotificationGetContent.Channel.Content.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 NotificationGetContent.Channel.Content.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final NotificationGetContent.Channel.Content.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final NotificationGetContent.Channel.Content.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final NotificationGetContent.Channel.Content.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final NotificationGetContent.Channel.Content.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final NotificationGetContent.Channel.Content build()
Returns an immutable instance of Content.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-