Class TopicPreference
-
- All Implemented Interfaces:
public final class TopicPreference
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTopicPreference.BuilderA builder for TopicPreference.
-
Method Summary
-
-
Method Detail
-
defaultStatus
final PreferenceStatus defaultStatus()
-
status
final PreferenceStatus status()
-
customRouting
final Optional<List<ChannelClassification>> customRouting()
The Channels a user has chosen to receive notifications through for this topic
-
hasCustomRouting
final Optional<Boolean> hasCustomRouting()
-
_defaultStatus
final JsonField<PreferenceStatus> _defaultStatus()
Returns the raw JSON value of defaultStatus.
Unlike defaultStatus, this method doesn't throw if the JSON field has an unexpected type.
-
_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.
-
_topicId
final JsonField<String> _topicId()
Returns the raw JSON value of topicId.
Unlike topicId, this method doesn't throw if the JSON field has an unexpected type.
-
_topicName
final JsonField<String> _topicName()
Returns the raw JSON value of topicName.
Unlike topicName, this method doesn't throw if the JSON field has an unexpected type.
-
_customRouting
final JsonField<List<ChannelClassification>> _customRouting()
Returns the raw JSON value of customRouting.
Unlike customRouting, this method doesn't throw if the JSON field has an unexpected type.
-
_hasCustomRouting
final JsonField<Boolean> _hasCustomRouting()
Returns the raw JSON value of hasCustomRouting.
Unlike hasCustomRouting, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final TopicPreference.Builder toBuilder()
-
validate
final TopicPreference validate()
-
builder
final static TopicPreference.Builder builder()
Returns a mutable builder for constructing an instance of TopicPreference.
The following fields are required:
.defaultStatus() .status() .topicId() .topicName()
-
-
-
-