Class PreferenceSetChannelTypes
-
- All Implemented Interfaces:
public final class PreferenceSetChannelTypesChannel type preferences.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPreferenceSetChannelTypes.BuilderA builder for PreferenceSetChannelTypes.
public final classPreferenceSetChannelTypes.ChatWhether the channel type is enabled for the preference set.
public final classPreferenceSetChannelTypes.EmailWhether the channel type is enabled for the preference set.
public final classPreferenceSetChannelTypes.HttpWhether the channel type is enabled for the preference set.
public final classPreferenceSetChannelTypes.InAppFeedWhether the channel type is enabled for the preference set.
public final classPreferenceSetChannelTypes.PushWhether the channel type is enabled for the preference set.
public final classPreferenceSetChannelTypes.SmsWhether the channel type is enabled for the preference set.
-
Method Summary
Modifier and Type Method Description final Optional<PreferenceSetChannelTypes.Chat>chat()Whether the channel type is enabled for the preference set. final Optional<PreferenceSetChannelTypes.Email>email()Whether the channel type is enabled for the preference set. final Optional<PreferenceSetChannelTypes.Http>http()Whether the channel type is enabled for the preference set. final Optional<PreferenceSetChannelTypes.InAppFeed>inAppFeed()Whether the channel type is enabled for the preference set. final Optional<PreferenceSetChannelTypes.Push>push()Whether the channel type is enabled for the preference set. final Optional<PreferenceSetChannelTypes.Sms>sms()Whether the channel type is enabled for the preference set. final JsonField<PreferenceSetChannelTypes.Chat>_chat()Returns the raw JSON value of chat. final JsonField<PreferenceSetChannelTypes.Email>_email()Returns the raw JSON value of email. final JsonField<PreferenceSetChannelTypes.Http>_http()Returns the raw JSON value of http. final JsonField<PreferenceSetChannelTypes.InAppFeed>_inAppFeed()Returns the raw JSON value of inAppFeed. final JsonField<PreferenceSetChannelTypes.Push>_push()Returns the raw JSON value of push. final JsonField<PreferenceSetChannelTypes.Sms>_sms()Returns the raw JSON value of sms. final Map<String, JsonValue>_additionalProperties()final PreferenceSetChannelTypes.BuildertoBuilder()final PreferenceSetChannelTypesvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static PreferenceSetChannelTypes.Builderbuilder()Returns a mutable builder for constructing an instance of PreferenceSetChannelTypes. -
-
Method Detail
-
chat
final Optional<PreferenceSetChannelTypes.Chat> chat()
Whether the channel type is enabled for the preference set.
-
email
final Optional<PreferenceSetChannelTypes.Email> email()
Whether the channel type is enabled for the preference set.
-
http
final Optional<PreferenceSetChannelTypes.Http> http()
Whether the channel type is enabled for the preference set.
-
inAppFeed
final Optional<PreferenceSetChannelTypes.InAppFeed> inAppFeed()
Whether the channel type is enabled for the preference set.
-
push
final Optional<PreferenceSetChannelTypes.Push> push()
Whether the channel type is enabled for the preference set.
-
sms
final Optional<PreferenceSetChannelTypes.Sms> sms()
Whether the channel type is enabled for the preference set.
-
_chat
final JsonField<PreferenceSetChannelTypes.Chat> _chat()
Returns the raw JSON value of chat.
Unlike chat, this method doesn't throw if the JSON field has an unexpected type.
-
_email
final JsonField<PreferenceSetChannelTypes.Email> _email()
Returns the raw JSON value of email.
Unlike email, this method doesn't throw if the JSON field has an unexpected type.
-
_http
final JsonField<PreferenceSetChannelTypes.Http> _http()
Returns the raw JSON value of http.
Unlike http, this method doesn't throw if the JSON field has an unexpected type.
-
_inAppFeed
final JsonField<PreferenceSetChannelTypes.InAppFeed> _inAppFeed()
Returns the raw JSON value of inAppFeed.
Unlike inAppFeed, this method doesn't throw if the JSON field has an unexpected type.
-
_push
final JsonField<PreferenceSetChannelTypes.Push> _push()
Returns the raw JSON value of push.
Unlike push, this method doesn't throw if the JSON field has an unexpected type.
-
_sms
final JsonField<PreferenceSetChannelTypes.Sms> _sms()
Returns the raw JSON value of sms.
Unlike sms, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final PreferenceSetChannelTypes.Builder toBuilder()
-
validate
final PreferenceSetChannelTypes validate()
-
builder
final static PreferenceSetChannelTypes.Builder builder()
Returns a mutable builder for constructing an instance of PreferenceSetChannelTypes.
-
-
-
-