Class NotificationElementPutRequest
-
- All Implemented Interfaces:
public final class NotificationElementPutRequestRequest body for updating a single element. Additional type-specific fields are allowed.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classNotificationElementPutRequest.BuilderA builder for NotificationElementPutRequest.
public final classNotificationElementPutRequest.Data
-
Method Summary
-
-
Method Detail
-
data
final Optional<NotificationElementPutRequest.Data> data()
-
state
final Optional<NotificationTemplateState> state()
Template state. Defaults to
DRAFT.
-
_type
final JsonField<String> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_channels
final JsonField<List<String>> _channels()
Returns the raw JSON value of channels.
Unlike channels, this method doesn't throw if the JSON field has an unexpected type.
-
_data
final JsonField<NotificationElementPutRequest.Data> _data()
Returns the raw JSON value of data.
Unlike data, this method doesn't throw if the JSON field has an unexpected type.
-
_if_
final JsonField<String> _if_()
Returns the raw JSON value of if_.
Unlike if_, this method doesn't throw if the JSON field has an unexpected type.
-
_loop
final JsonField<String> _loop()
Returns the raw JSON value of loop.
Unlike loop, this method doesn't throw if the JSON field has an unexpected type.
-
_ref
final JsonField<String> _ref()
Returns the raw JSON value of ref.
Unlike ref, this method doesn't throw if the JSON field has an unexpected type.
-
_state
final JsonField<NotificationTemplateState> _state()
Returns the raw JSON value of state.
Unlike state, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final NotificationElementPutRequest.Builder toBuilder()
-
validate
final NotificationElementPutRequest validate()
-
builder
final static NotificationElementPutRequest.Builder builder()
Returns a mutable builder for constructing an instance of NotificationElementPutRequest.
The following fields are required:
.type()
-
-
-
-