Package com.courier.models.notifications
Class NotificationTemplateVersionListResponse.Builder
-
- All Implemented Interfaces:
public final class NotificationTemplateVersionListResponse.BuilderA builder for NotificationTemplateVersionListResponse.
-
-
Method Summary
-
-
Method Detail
-
paging
final NotificationTemplateVersionListResponse.Builder paging(Paging paging)
-
paging
final NotificationTemplateVersionListResponse.Builder paging(JsonField<Paging> paging)
Sets Builder.paging to an arbitrary JSON value.
You should usually call Builder.paging with a well-typed Paging value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
versions
final NotificationTemplateVersionListResponse.Builder versions(List<VersionNode> versions)
-
versions
final NotificationTemplateVersionListResponse.Builder versions(JsonField<List<VersionNode>> versions)
Sets Builder.versions to an arbitrary JSON value.
You should usually call Builder.versions with a well-typed
List<VersionNode>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addVersion
final NotificationTemplateVersionListResponse.Builder addVersion(VersionNode version)
Adds a single VersionNode to versions.
-
additionalProperties
final NotificationTemplateVersionListResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final NotificationTemplateVersionListResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final NotificationTemplateVersionListResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final NotificationTemplateVersionListResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final NotificationTemplateVersionListResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final NotificationTemplateVersionListResponse build()
Returns an immutable instance of NotificationTemplateVersionListResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.paging() .versions()
-
-
-
-