Class NotificationTemplateGetResponse.Builder
-
- All Implemented Interfaces:
public final class NotificationTemplateGetResponse.BuilderA builder for NotificationTemplateGetResponse.
-
-
Method Summary
-
-
Method Detail
-
created
final NotificationTemplateGetResponse.Builder created(Long created)
Epoch milliseconds when the template was created.
-
created
final NotificationTemplateGetResponse.Builder created(JsonField<Long> created)
Sets Builder.created to an arbitrary JSON value.
You should usually call Builder.created with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
creator
final NotificationTemplateGetResponse.Builder creator(String creator)
User ID of the creator.
-
creator
final NotificationTemplateGetResponse.Builder creator(JsonField<String> creator)
Sets Builder.creator to an arbitrary JSON value.
You should usually call Builder.creator with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
notification
final NotificationTemplateGetResponse.Builder notification(NotificationTemplateGetResponse.Notification notification)
Full document shape used in POST and PUT request bodies, and returned inside the GET response envelope.
-
notification
final NotificationTemplateGetResponse.Builder notification(JsonField<NotificationTemplateGetResponse.Notification> notification)
Sets Builder.notification to an arbitrary JSON value.
You should usually call Builder.notification with a well-typed Notification value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
state
final NotificationTemplateGetResponse.Builder state(NotificationTemplateGetResponse.State state)
The template state. Always uppercase.
-
state
final NotificationTemplateGetResponse.Builder state(JsonField<NotificationTemplateGetResponse.State> state)
Sets Builder.state to an arbitrary JSON value.
You should usually call Builder.state with a well-typed State value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
updated
final NotificationTemplateGetResponse.Builder updated(Long updated)
Epoch milliseconds of last update.
-
updated
final NotificationTemplateGetResponse.Builder updated(JsonField<Long> updated)
Sets Builder.updated to an arbitrary JSON value.
You should usually call Builder.updated with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
updater
final NotificationTemplateGetResponse.Builder updater(String updater)
User ID of the last updater.
-
updater
final NotificationTemplateGetResponse.Builder updater(JsonField<String> updater)
Sets Builder.updater to an arbitrary JSON value.
You should usually call Builder.updater 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 NotificationTemplateGetResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final NotificationTemplateGetResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final NotificationTemplateGetResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final NotificationTemplateGetResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final NotificationTemplateGetResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final NotificationTemplateGetResponse build()
Returns an immutable instance of NotificationTemplateGetResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.created() .creator() .notification() .state()
-
-
-
-