Class NotificationLocalePutRequest
-
- All Implemented Interfaces:
public final class NotificationLocalePutRequestRequest body for setting locale-specific content overrides. Each element override must include the target element ID.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classNotificationLocalePutRequest.BuilderA builder for NotificationLocalePutRequest.
public final classNotificationLocalePutRequest.Element
-
Method Summary
Modifier and Type Method Description final List<NotificationLocalePutRequest.Element>elements()Elements with locale-specific content overrides. final Optional<NotificationTemplateState>state()Template state. final JsonField<List<NotificationLocalePutRequest.Element>>_elements()Returns the raw JSON value of elements. final JsonField<NotificationTemplateState>_state()Returns the raw JSON value of state. final Map<String, JsonValue>_additionalProperties()final NotificationLocalePutRequest.BuildertoBuilder()final NotificationLocalePutRequestvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static NotificationLocalePutRequest.Builderbuilder()Returns a mutable builder for constructing an instance of NotificationLocalePutRequest. -
-
Method Detail
-
elements
final List<NotificationLocalePutRequest.Element> elements()
Elements with locale-specific content overrides.
-
state
final Optional<NotificationTemplateState> state()
Template state. Defaults to
DRAFT.
-
_elements
final JsonField<List<NotificationLocalePutRequest.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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final NotificationLocalePutRequest.Builder toBuilder()
-
validate
final NotificationLocalePutRequest validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static NotificationLocalePutRequest.Builder builder()
Returns a mutable builder for constructing an instance of NotificationLocalePutRequest.
The following fields are required:
.elements()
-
-
-
-