Package com.courier.models
Class Recipient.Preferences
-
- All Implemented Interfaces:
public final class Recipient.Preferences
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRecipient.Preferences.BuilderA builder for Preferences.
public final classRecipient.Preferences.Notificationspublic final classRecipient.Preferences.Categories
-
Method Summary
Modifier and Type Method Description final Recipient.Preferences.Notificationsnotifications()final Optional<Recipient.Preferences.Categories>categories()final Optional<String>templateId()final JsonField<Recipient.Preferences.Notifications>_notifications()Returns the raw JSON value of notifications. final JsonField<Recipient.Preferences.Categories>_categories()Returns the raw JSON value of categories. final JsonField<String>_templateId()Returns the raw JSON value of templateId. final Map<String, JsonValue>_additionalProperties()final Recipient.Preferences.BuildertoBuilder()final Recipient.Preferencesvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Recipient.Preferences.Builderbuilder()Returns a mutable builder for constructing an instance of Preferences. -
-
Method Detail
-
notifications
final Recipient.Preferences.Notifications notifications()
-
categories
final Optional<Recipient.Preferences.Categories> categories()
-
templateId
final Optional<String> templateId()
-
_notifications
final JsonField<Recipient.Preferences.Notifications> _notifications()
Returns the raw JSON value of notifications.
Unlike notifications, this method doesn't throw if the JSON field has an unexpected type.
-
_categories
final JsonField<Recipient.Preferences.Categories> _categories()
Returns the raw JSON value of categories.
Unlike categories, this method doesn't throw if the JSON field has an unexpected type.
-
_templateId
final JsonField<String> _templateId()
Returns the raw JSON value of templateId.
Unlike templateId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Recipient.Preferences.Builder toBuilder()
-
validate
final Recipient.Preferences validate()
-
builder
final static Recipient.Preferences.Builder builder()
Returns a mutable builder for constructing an instance of Preferences.
The following fields are required:
.notifications()
-
-
-
-