Package com.courier.models
Class NotificationPreferenceDetails
-
- All Implemented Interfaces:
public final class NotificationPreferenceDetails
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classNotificationPreferenceDetails.BuilderA builder for NotificationPreferenceDetails.
-
Method Summary
Modifier and Type Method Description final PreferenceStatusstatus()final Optional<List<ChannelPreference>>channelPreferences()final Optional<List<Rule>>rules()final JsonField<PreferenceStatus>_status()Returns the raw JSON value of status. final JsonField<List<ChannelPreference>>_channelPreferences()Returns the raw JSON value of channelPreferences. final JsonField<List<Rule>>_rules()Returns the raw JSON value of rules. final Map<String, JsonValue>_additionalProperties()final NotificationPreferenceDetails.BuildertoBuilder()final NotificationPreferenceDetailsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static NotificationPreferenceDetails.Builderbuilder()Returns a mutable builder for constructing an instance of NotificationPreferenceDetails. -
-
Method Detail
-
status
final PreferenceStatus status()
-
channelPreferences
final Optional<List<ChannelPreference>> channelPreferences()
-
_status
final JsonField<PreferenceStatus> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_channelPreferences
final JsonField<List<ChannelPreference>> _channelPreferences()
Returns the raw JSON value of channelPreferences.
Unlike channelPreferences, this method doesn't throw if the JSON field has an unexpected type.
-
_rules
final JsonField<List<Rule>> _rules()
Returns the raw JSON value of rules.
Unlike rules, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final NotificationPreferenceDetails.Builder toBuilder()
-
validate
final NotificationPreferenceDetails 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 NotificationPreferenceDetails.Builder builder()
Returns a mutable builder for constructing an instance of NotificationPreferenceDetails.
The following fields are required:
.status()
-
-
-
-