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