Class PreferenceUpdateOrCreateTopicParams.Topic
-
- All Implemented Interfaces:
public final class PreferenceUpdateOrCreateTopicParams.Topic
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPreferenceUpdateOrCreateTopicParams.Topic.BuilderA builder for Topic.
-
Method Summary
Modifier and Type Method Description final PreferenceStatusstatus()final Optional<List<ChannelClassification>>customRouting()The Channels a user has chosen to receive notifications through for this topic final Optional<Boolean>hasCustomRouting()final JsonField<PreferenceStatus>_status()Returns the raw JSON value of status. final JsonField<List<ChannelClassification>>_customRouting()Returns the raw JSON value of customRouting. final JsonField<Boolean>_hasCustomRouting()Returns the raw JSON value of hasCustomRouting. final Map<String, JsonValue>_additionalProperties()final PreferenceUpdateOrCreateTopicParams.Topic.BuildertoBuilder()final PreferenceUpdateOrCreateTopicParams.Topicvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static PreferenceUpdateOrCreateTopicParams.Topic.Builderbuilder()Returns a mutable builder for constructing an instance of Topic. -
-
Method Detail
-
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()
-
_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.
-
_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 PreferenceUpdateOrCreateTopicParams.Topic.Builder toBuilder()
-
validate
final PreferenceUpdateOrCreateTopicParams.Topic validate()
-
builder
final static PreferenceUpdateOrCreateTopicParams.Topic.Builder builder()
Returns a mutable builder for constructing an instance of Topic.
The following fields are required:
.status()
-
-
-
-