Class NotificationContentMutationResponse
-
- All Implemented Interfaces:
public final class NotificationContentMutationResponseShared mutation response for
PUTcontent,PUTelement, andPUTlocale operations. Contains the template ID, content version, per-element checksums, and resulting state.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classNotificationContentMutationResponse.BuilderA builder for NotificationContentMutationResponse.
public final classNotificationContentMutationResponse.Element
-
Method Summary
-
-
Method Detail
-
elements
final List<NotificationContentMutationResponse.Element> elements()
-
state
final NotificationTemplateState state()
Template state. Defaults to
DRAFT.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_elements
final JsonField<List<NotificationContentMutationResponse.Element>> _elements()
Returns the raw JSON value of elements.
Unlike elements, 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.
-
_version
final JsonField<String> _version()
Returns the raw JSON value of version.
Unlike version, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final NotificationContentMutationResponse.Builder toBuilder()
-
validate
final NotificationContentMutationResponse validate()
-
builder
final static NotificationContentMutationResponse.Builder builder()
Returns a mutable builder for constructing an instance of NotificationContentMutationResponse.
The following fields are required:
.id() .elements() .state() .version()
-
-
-
-