Package com.courier.models.notifications
Class NotificationReplaceParams
-
- All Implemented Interfaces:
-
com.courier.core.Params
public final class NotificationReplaceParams implements Params
Replace a notification template. All fields are required.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classNotificationReplaceParams.BuilderA builder for NotificationReplaceParams.
-
Method Summary
Modifier and Type Method Description final Optional<String>id()final NotificationTemplateUpdateRequestnotificationTemplateUpdateRequest()Request body for replacing a notification template. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final NotificationReplaceParams.BuildertoBuilder()final NotificationTemplateUpdateRequest_body()final String_pathParam(Integer index)Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. Booleanequals(Object other)IntegerhashCode()StringtoString()final static NotificationReplaceParams.Builderbuilder()Returns a mutable builder for constructing an instance of NotificationReplaceParams. -
-
Method Detail
-
notificationTemplateUpdateRequest
final NotificationTemplateUpdateRequest notificationTemplateUpdateRequest()
Request body for replacing a notification template. Same shape as create. All fields required (PUT = full replacement).
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final NotificationReplaceParams.Builder toBuilder()
-
_body
final NotificationTemplateUpdateRequest _body()
-
_pathParam
final String _pathParam(Integer index)
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
builder
final static NotificationReplaceParams.Builder builder()
Returns a mutable builder for constructing an instance of NotificationReplaceParams.
The following fields are required:
.notificationTemplateUpdateRequest()
-
-
-
-