Class NotificationContentMutationResponse.Builder
-
- All Implemented Interfaces:
public final class NotificationContentMutationResponse.BuilderA builder for NotificationContentMutationResponse.
-
-
Method Summary
-
-
Method Detail
-
id
final NotificationContentMutationResponse.Builder id(String id)
Template ID.
-
id
final NotificationContentMutationResponse.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.
-
elements
final NotificationContentMutationResponse.Builder elements(List<NotificationContentMutationResponse.Element> elements)
-
elements
final NotificationContentMutationResponse.Builder elements(JsonField<List<NotificationContentMutationResponse.Element>> elements)
Sets Builder.elements to an arbitrary JSON value.
You should usually call Builder.elements with a well-typed
List<Element>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addElement
final NotificationContentMutationResponse.Builder addElement(NotificationContentMutationResponse.Element element)
-
state
final NotificationContentMutationResponse.Builder state(NotificationTemplateState state)
Template state. Defaults to
DRAFT.
-
state
final NotificationContentMutationResponse.Builder state(JsonField<NotificationTemplateState> state)
Sets Builder.state to an arbitrary JSON value.
You should usually call Builder.state with a well-typed NotificationTemplateState value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
version
final NotificationContentMutationResponse.Builder version(String version)
Content version identifier.
-
version
final NotificationContentMutationResponse.Builder version(JsonField<String> version)
Sets Builder.version to an arbitrary JSON value.
You should usually call Builder.version 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 NotificationContentMutationResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final NotificationContentMutationResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final NotificationContentMutationResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final NotificationContentMutationResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final NotificationContentMutationResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final NotificationContentMutationResponse build()
Returns an immutable instance of NotificationContentMutationResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .elements() .state() .version()
-
-
-
-