Package com.courier.models.notifications
Class NotificationPutElementParams
-
- All Implemented Interfaces:
-
com.courier.core.Params
public final class NotificationPutElementParams implements Params
Update a single element within a notification template. Only supported for V2 (elemental) templates.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classNotificationPutElementParams.BuilderA builder for NotificationPutElementParams.
-
Method Summary
Modifier and Type Method Description final Stringid()final Optional<String>elementId()final NotificationElementPutRequestnotificationElementPutRequest()Request body for updating a single element. 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 NotificationPutElementParams.BuildertoBuilder()final NotificationElementPutRequest_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 NotificationPutElementParams.Builderbuilder()Returns a mutable builder for constructing an instance of NotificationPutElementParams. -
-
Method Detail
-
notificationElementPutRequest
final NotificationElementPutRequest notificationElementPutRequest()
Request body for updating a single element. Additional type-specific fields are allowed.
-
_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 NotificationPutElementParams.Builder toBuilder()
-
_body
final NotificationElementPutRequest _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 NotificationPutElementParams.Builder builder()
Returns a mutable builder for constructing an instance of NotificationPutElementParams.
The following fields are required:
.id() .notificationElementPutRequest()
-
-
-
-