Package com.courier.models.notifications
Class NotificationGetContent.Channel.Content
-
- All Implemented Interfaces:
public final class NotificationGetContent.Channel.Content
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classNotificationGetContent.Channel.Content.BuilderA builder for Content.
-
Method Summary
Modifier and Type Method Description final Optional<String>subject()final Optional<String>title()final JsonField<String>_subject()Returns the raw JSON value of subject. final JsonField<String>_title()Returns the raw JSON value of title. final Map<String, JsonValue>_additionalProperties()final NotificationGetContent.Channel.Content.BuildertoBuilder()final NotificationGetContent.Channel.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 NotificationGetContent.Channel.Content.Builderbuilder()Returns a mutable builder for constructing an instance of Content. -
-
Method Detail
-
_subject
final JsonField<String> _subject()
Returns the raw JSON value of subject.
Unlike subject, this method doesn't throw if the JSON field has an unexpected type.
-
_title
final JsonField<String> _title()
Returns the raw JSON value of title.
Unlike title, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final NotificationGetContent.Channel.Content.Builder toBuilder()
-
validate
final NotificationGetContent.Channel.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 NotificationGetContent.Channel.Content.Builder builder()
Returns a mutable builder for constructing an instance of Content.
-
-
-
-