Class PreferenceSetChannelTypes.Email
-
- All Implemented Interfaces:
public final class PreferenceSetChannelTypes.EmailWhether the channel type is enabled for the preference set.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfacePreferenceSetChannelTypes.Email.VisitorAn interface that defines how to map each variant of Email 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.Email.Visitor<T> visitor)final PreferenceSetChannelTypes.Emailvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static PreferenceSetChannelTypes.EmailofBool(Boolean bool)final static PreferenceSetChannelTypes.EmailofPreferenceSetChannelTypeSetting(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.Email.Visitor<T> visitor)
-
validate
final PreferenceSetChannelTypes.Email validate()
-
ofBool
final static PreferenceSetChannelTypes.Email ofBool(Boolean bool)
-
ofPreferenceSetChannelTypeSetting
final static PreferenceSetChannelTypes.Email ofPreferenceSetChannelTypeSetting(PreferenceSetChannelTypeSetting preferenceSetChannelTypeSetting)
A set of settings for a channel type. Currently, this can only be a list of conditions to apply.
-
-
-
-