Class DefaultPreferences.Item
-
- All Implemented Interfaces:
public final class DefaultPreferences.Item
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classDefaultPreferences.Item.BuilderA builder for Item.
-
Method Summary
Modifier and Type Method Description final SubscriptionTopicNewtoSubscriptionTopicNew()final SubscriptionTopicNew.Statusstatus()final Optional<List<ChannelClassification>>customRouting()The default channels to send to this tenant when has_custom_routing is enabled final Optional<Boolean>hasCustomRouting()Override channel routing with custom preferences. final Stringid()Topic ID final JsonField<SubscriptionTopicNew.Status>_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 JsonField<String>_id()Returns the raw JSON value of id. final Map<String, JsonValue>_additionalProperties()final DefaultPreferences.Item.BuildertoBuilder()final DefaultPreferences.Itemvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static DefaultPreferences.Item.Builderbuilder()Returns a mutable builder for constructing an instance of Item. -
-
Method Detail
-
toSubscriptionTopicNew
final SubscriptionTopicNew toSubscriptionTopicNew()
-
status
final SubscriptionTopicNew.Status status()
-
customRouting
final Optional<List<ChannelClassification>> customRouting()
The default channels to send to this tenant when has_custom_routing is enabled
-
hasCustomRouting
final Optional<Boolean> hasCustomRouting()
Override channel routing with custom preferences. This will override any template preferences that are set, but a user can still customize their preferences
-
_status
final JsonField<SubscriptionTopicNew.Status> _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.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final DefaultPreferences.Item.Builder toBuilder()
-
validate
final DefaultPreferences.Item 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 DefaultPreferences.Item.Builder builder()
Returns a mutable builder for constructing an instance of Item.
The following fields are required:
.status() .id()
-
-
-
-