Class NotificationGetContent.Block
-
- All Implemented Interfaces:
public final class NotificationGetContent.Block
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classNotificationGetContent.Block.BuilderA builder for Block.
public final classNotificationGetContent.Block.Typepublic final classNotificationGetContent.Block.Contentpublic final classNotificationGetContent.Block.Locales
-
Method Summary
-
-
Method Detail
-
type
final NotificationGetContent.Block.Type type()
-
content
final Optional<NotificationGetContent.Block.Content> content()
-
locales
final Optional<NotificationGetContent.Block.Locales> locales()
-
_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.
-
_type
final JsonField<NotificationGetContent.Block.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_alias
final JsonField<String> _alias()
Returns the raw JSON value of alias.
Unlike alias, 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.
-
_content
final JsonField<NotificationGetContent.Block.Content> _content()
Returns the raw JSON value of content.
Unlike content, this method doesn't throw if the JSON field has an unexpected type.
-
_context
final JsonField<String> _context()
Returns the raw JSON value of context.
Unlike context, this method doesn't throw if the JSON field has an unexpected type.
-
_locales
final JsonField<NotificationGetContent.Block.Locales> _locales()
Returns the raw JSON value of locales.
Unlike locales, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final NotificationGetContent.Block.Builder toBuilder()
-
validate
final NotificationGetContent.Block validate()
-
builder
final static NotificationGetContent.Block.Builder builder()
Returns a mutable builder for constructing an instance of Block.
The following fields are required:
.id() .type()
-
-
-
-