Class PreferenceSetChannelTypes.Sms
-
- All Implemented Interfaces:
public final class PreferenceSetChannelTypes.SmsWhether the channel type is enabled for the preference set.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfacePreferenceSetChannelTypes.Sms.VisitorAn interface that defines how to map each variant of Sms to a value of type T.
-
Method Summary
Modifier and Type Method Description final Optional<Boolean>bool()final Optional<PreferenceSetChannelTypeSetting>preferenceSetChannelTypeSetting()A set of settings for a channel type. final BooleanisBool()final BooleanisPreferenceSetChannelTypeSetting()final BooleanasBool()final PreferenceSetChannelTypeSettingasPreferenceSetChannelTypeSetting()A set of settings for a channel type. final Optional<JsonValue>_json()final <T extends Any> Taccept(PreferenceSetChannelTypes.Sms.Visitor<T> visitor)final PreferenceSetChannelTypes.Smsvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static PreferenceSetChannelTypes.SmsofBool(Boolean bool)final static PreferenceSetChannelTypes.SmsofPreferenceSetChannelTypeSetting(PreferenceSetChannelTypeSetting preferenceSetChannelTypeSetting)A set of settings for a channel type. -
-
Method Detail
-
preferenceSetChannelTypeSetting
final Optional<PreferenceSetChannelTypeSetting> preferenceSetChannelTypeSetting()
A set of settings for a channel type. Currently, this can only be a list of conditions to apply.
-
isPreferenceSetChannelTypeSetting
final Boolean isPreferenceSetChannelTypeSetting()
-
asPreferenceSetChannelTypeSetting
final PreferenceSetChannelTypeSetting asPreferenceSetChannelTypeSetting()
A set of settings for a channel type. Currently, this can only be a list of conditions to apply.
-
accept
final <T extends Any> T accept(PreferenceSetChannelTypes.Sms.Visitor<T> visitor)
-
validate
final PreferenceSetChannelTypes.Sms validate()
-
ofBool
final static PreferenceSetChannelTypes.Sms ofBool(Boolean bool)
-
ofPreferenceSetChannelTypeSetting
final static PreferenceSetChannelTypes.Sms ofPreferenceSetChannelTypeSetting(PreferenceSetChannelTypeSetting preferenceSetChannelTypeSetting)
A set of settings for a channel type. Currently, this can only be a list of conditions to apply.
-
-
-
-