Package com.courier.models.notifications
Class NotificationContentPutRequest.Content
-
- All Implemented Interfaces:
public final class NotificationContentPutRequest.ContentElemental content payload. The server defaults
versionwhen omitted.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classNotificationContentPutRequest.Content.BuilderA builder for Content.
-
Method Summary
Modifier and Type Method Description final List<ElementalNode>elements()final Optional<String>version()Content version identifier (e.g. final JsonField<List<ElementalNode>>_elements()Returns the raw JSON value of elements. final JsonField<String>_version()Returns the raw JSON value of version. final Map<String, JsonValue>_additionalProperties()final NotificationContentPutRequest.Content.BuildertoBuilder()final NotificationContentPutRequest.Contentvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static NotificationContentPutRequest.Content.Builderbuilder()Returns a mutable builder for constructing an instance of Content. -
-
Method Detail
-
elements
final List<ElementalNode> elements()
-
version
final Optional<String> version()
Content version identifier (e.g.,
2022-01-01). Optional; server defaults when omitted.
-
_elements
final JsonField<List<ElementalNode>> _elements()
Returns the raw JSON value of elements.
Unlike elements, 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 NotificationContentPutRequest.Content.Builder toBuilder()
-
validate
final NotificationContentPutRequest.Content 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 NotificationContentPutRequest.Content.Builder builder()
Returns a mutable builder for constructing an instance of Content.
The following fields are required:
.elements()
-
-
-
-