Class PreferenceSetRequest
-
- All Implemented Interfaces:
public final class PreferenceSetRequestA request to set a preference set for a recipient.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPreferenceSetRequest.BuilderA builder for PreferenceSetRequest.
public final classPreferenceSetRequest.CategoriesAn object where the key is the category and the values are the preference settings for that category.
public final classPreferenceSetRequest.WorkflowsAn object where the key is the workflow key and the values are the preference settings for that workflow.
-
Method Summary
Modifier and Type Method Description final Optional<PreferenceSetRequest.Categories>categories()An object where the key is the category and the values are the preference settings for that category. final Optional<PreferenceSetChannelTypes>channelTypes()Channel type preferences. final Optional<PreferenceSetRequest.Workflows>workflows()An object where the key is the workflow key and the values are the preference settings for that workflow. final JsonField<PreferenceSetRequest.Categories>_categories()Returns the raw JSON value of categories. final JsonField<PreferenceSetChannelTypes>_channelTypes()Returns the raw JSON value of channelTypes. final JsonField<PreferenceSetRequest.Workflows>_workflows()Returns the raw JSON value of workflows. final Map<String, JsonValue>_additionalProperties()final PreferenceSetRequest.BuildertoBuilder()final PreferenceSetRequestvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static PreferenceSetRequest.Builderbuilder()Returns a mutable builder for constructing an instance of PreferenceSetRequest. -
-
Method Detail
-
categories
final Optional<PreferenceSetRequest.Categories> categories()
An object where the key is the category and the values are the preference settings for that category.
-
channelTypes
final Optional<PreferenceSetChannelTypes> channelTypes()
Channel type preferences.
-
workflows
final Optional<PreferenceSetRequest.Workflows> workflows()
An object where the key is the workflow key and the values are the preference settings for that workflow.
-
_categories
final JsonField<PreferenceSetRequest.Categories> _categories()
Returns the raw JSON value of categories.
Unlike categories, this method doesn't throw if the JSON field has an unexpected type.
-
_channelTypes
final JsonField<PreferenceSetChannelTypes> _channelTypes()
Returns the raw JSON value of channelTypes.
Unlike channelTypes, this method doesn't throw if the JSON field has an unexpected type.
-
_workflows
final JsonField<PreferenceSetRequest.Workflows> _workflows()
Returns the raw JSON value of workflows.
Unlike workflows, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final PreferenceSetRequest.Builder toBuilder()
-
validate
final PreferenceSetRequest validate()
-
builder
final static PreferenceSetRequest.Builder builder()
Returns a mutable builder for constructing an instance of PreferenceSetRequest.
-
-
-
-