Package com.courier.models
Class ElementalContentSugar.Builder
-
- All Implemented Interfaces:
public final class ElementalContentSugar.BuilderA builder for ElementalContentSugar.
-
-
Method Summary
-
-
Method Detail
-
body
final ElementalContentSugar.Builder body(String body)
The text content displayed in the notification.
-
body
final ElementalContentSugar.Builder body(JsonField<String> body)
Sets Builder.body to an arbitrary JSON value.
You should usually call Builder.body 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 ElementalContentSugar.Builder title(String title)
Title/subject displayed by supported channels.
-
title
final ElementalContentSugar.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 ElementalContentSugar.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ElementalContentSugar.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ElementalContentSugar.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ElementalContentSugar.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ElementalContentSugar.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ElementalContentSugar build()
Returns an immutable instance of ElementalContentSugar.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.body() .title()
-
-
-
-