Package app.knock.api.models.tenants
Class TenantRequest.Settings
-
- All Implemented Interfaces:
public final class TenantRequest.SettingsThe settings for the tenant. Includes branding and preference set.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTenantRequest.Settings.BuilderA builder for Settings.
public final classTenantRequest.Settings.BrandingThe branding for the tenant.
-
Method Summary
Modifier and Type Method Description final Optional<TenantRequest.Settings.Branding>branding()The branding for the tenant. final Optional<PreferenceSetRequest>preferenceSet()A request to set a preference set for a recipient. final JsonField<TenantRequest.Settings.Branding>_branding()Returns the raw JSON value of branding. final JsonField<PreferenceSetRequest>_preferenceSet()Returns the raw JSON value of preferenceSet. final Map<String, JsonValue>_additionalProperties()final TenantRequest.Settings.BuildertoBuilder()final TenantRequest.Settingsvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static TenantRequest.Settings.Builderbuilder()Returns a mutable builder for constructing an instance of Settings. -
-
Method Detail
-
branding
final Optional<TenantRequest.Settings.Branding> branding()
The branding for the tenant.
-
preferenceSet
final Optional<PreferenceSetRequest> preferenceSet()
A request to set a preference set for a recipient.
-
_branding
final JsonField<TenantRequest.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<PreferenceSetRequest> _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 TenantRequest.Settings.Builder toBuilder()
-
validate
final TenantRequest.Settings validate()
-
builder
final static TenantRequest.Settings.Builder builder()
Returns a mutable builder for constructing an instance of Settings.
-
-
-
-