Package com.courier.models
Class ProfilePreferences
-
- All Implemented Interfaces:
public final class ProfilePreferences
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classProfilePreferences.BuilderA builder for ProfilePreferences.
public final classProfilePreferences.Notificationspublic final classProfilePreferences.Categories
-
Method Summary
Modifier and Type Method Description final ProfilePreferences.Notificationsnotifications()final Optional<ProfilePreferences.Categories>categories()final Optional<String>templateId()final JsonField<ProfilePreferences.Notifications>_notifications()Returns the raw JSON value of notifications. final JsonField<ProfilePreferences.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 ProfilePreferences.BuildertoBuilder()final ProfilePreferencesvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ProfilePreferences.Builderbuilder()Returns a mutable builder for constructing an instance of ProfilePreferences. -
-
Method Detail
-
notifications
final ProfilePreferences.Notifications notifications()
-
categories
final Optional<ProfilePreferences.Categories> categories()
-
templateId
final Optional<String> templateId()
-
_notifications
final JsonField<ProfilePreferences.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<ProfilePreferences.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 ProfilePreferences.Builder toBuilder()
-
validate
final ProfilePreferences validate()
-
builder
final static ProfilePreferences.Builder builder()
Returns a mutable builder for constructing an instance of ProfilePreferences.
The following fields are required:
.notifications()
-
-
-
-