Package app.knock.api.models.tenants
Class Tenant.Settings
-
- All Implemented Interfaces:
public final class Tenant.SettingsThe settings for the tenant. Includes branding and preference set.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTenant.Settings.BuilderA builder for Settings.
public final classTenant.Settings.BrandingThe branding for the tenant.
-
Method Summary
Modifier and Type Method Description final Optional<Tenant.Settings.Branding>branding()The branding for the tenant. final Optional<PreferenceSet>preferenceSet()A preference set represents a specific set of notification preferences for a recipient. final JsonField<Tenant.Settings.Branding>_branding()Returns the raw JSON value of branding. final JsonField<PreferenceSet>_preferenceSet()Returns the raw JSON value of preferenceSet. final Map<String, JsonValue>_additionalProperties()final Tenant.Settings.BuildertoBuilder()final Tenant.Settingsvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Tenant.Settings.Builderbuilder()Returns a mutable builder for constructing an instance of Settings. -
-
Method Detail
-
branding
final Optional<Tenant.Settings.Branding> branding()
The branding for the tenant.
-
preferenceSet
final Optional<PreferenceSet> preferenceSet()
A preference set represents a specific set of notification preferences for a recipient. A recipient can have multiple preference sets.
-
_branding
final JsonField<Tenant.Settings.Branding> _branding()
Returns the raw JSON value of branding.
Unlike branding, this method doesn't throw if the JSON field has an unexpected type.
-
_preferenceSet
final JsonField<PreferenceSet> _preferenceSet()
Returns the raw JSON value of preferenceSet.
Unlike preferenceSet, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Tenant.Settings.Builder toBuilder()
-
validate
final Tenant.Settings validate()
-
builder
final static Tenant.Settings.Builder builder()
Returns a mutable builder for constructing an instance of Settings.
-
-
-
-