Package com.courier.models.notifications
Class NotificationContentGetResponse
-
- All Implemented Interfaces:
public final class NotificationContentGetResponseElemental content response for V2 templates. Contains versioned elements with content checksums.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classNotificationContentGetResponse.BuilderA builder for NotificationContentGetResponse.
-
Method Summary
Modifier and Type Method Description final List<ElementWithChecksums>elements()final Stringversion()Content version identifier. final JsonField<List<ElementWithChecksums>>_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 NotificationContentGetResponse.BuildertoBuilder()final NotificationContentGetResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static NotificationContentGetResponse.Builderbuilder()Returns a mutable builder for constructing an instance of NotificationContentGetResponse. -
-
Method Detail
-
elements
final List<ElementWithChecksums> elements()
-
_elements
final JsonField<List<ElementWithChecksums>> _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 NotificationContentGetResponse.Builder toBuilder()
-
validate
final NotificationContentGetResponse 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 NotificationContentGetResponse.Builder builder()
Returns a mutable builder for constructing an instance of NotificationContentGetResponse.
The following fields are required:
.elements() .version()
-
-
-
-