Package com.courier.models.notifications
Class NotificationGetContent
-
- All Implemented Interfaces:
public final class NotificationGetContent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classNotificationGetContent.BuilderA builder for NotificationGetContent.
public final classNotificationGetContent.Blockpublic final classNotificationGetContent.Channel
-
Method Summary
Modifier and Type Method Description final Optional<List<NotificationGetContent.Block>>blocks()final Optional<List<NotificationGetContent.Channel>>channels()final Optional<String>checksum()final JsonField<List<NotificationGetContent.Block>>_blocks()Returns the raw JSON value of blocks. final JsonField<List<NotificationGetContent.Channel>>_channels()Returns the raw JSON value of channels. final JsonField<String>_checksum()Returns the raw JSON value of checksum. final Map<String, JsonValue>_additionalProperties()final NotificationGetContent.BuildertoBuilder()final NotificationGetContentvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static NotificationGetContent.Builderbuilder()Returns a mutable builder for constructing an instance of NotificationGetContent. -
-
Method Detail
-
blocks
final Optional<List<NotificationGetContent.Block>> blocks()
-
channels
final Optional<List<NotificationGetContent.Channel>> channels()
-
_blocks
final JsonField<List<NotificationGetContent.Block>> _blocks()
Returns the raw JSON value of blocks.
Unlike blocks, this method doesn't throw if the JSON field has an unexpected type.
-
_channels
final JsonField<List<NotificationGetContent.Channel>> _channels()
Returns the raw JSON value of channels.
Unlike channels, this method doesn't throw if the JSON field has an unexpected type.
-
_checksum
final JsonField<String> _checksum()
Returns the raw JSON value of checksum.
Unlike checksum, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final NotificationGetContent.Builder toBuilder()
-
validate
final NotificationGetContent 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 NotificationGetContent.Builder builder()
Returns a mutable builder for constructing an instance of NotificationGetContent.
-
-
-
-