Class TenantRequest
-
- All Implemented Interfaces:
public final class TenantRequestA tenant to be set in the system. You can supply any additional properties on the tenant object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTenantRequest.BuilderA builder for TenantRequest.
public final classTenantRequest.SettingsThe settings for the tenant. Includes branding and preference set.
-
Method Summary
Modifier and Type Method Description final Stringid()The unique identifier for the tenant. final Optional<InlineChannelDataRequest>channelData()A request to set channel data for a type of channel inline. final Optional<InlinePreferenceSetRequest>preferences()Inline set preferences for a recipient, where the key is the preference set id. final Optional<TenantRequest.Settings>settings()The settings for the tenant. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<InlineChannelDataRequest>_channelData()Returns the raw JSON value of channelData. final JsonField<InlinePreferenceSetRequest>_preferences()Returns the raw JSON value of preferences. final JsonField<TenantRequest.Settings>_settings()Returns the raw JSON value of settings. final Map<String, JsonValue>_additionalProperties()final TenantRequest.BuildertoBuilder()final TenantRequestvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static TenantRequest.Builderbuilder()Returns a mutable builder for constructing an instance of TenantRequest. -
-
Method Detail
-
channelData
final Optional<InlineChannelDataRequest> channelData()
A request to set channel data for a type of channel inline.
-
preferences
final Optional<InlinePreferenceSetRequest> preferences()
Inline set preferences for a recipient, where the key is the preference set id.
-
settings
final Optional<TenantRequest.Settings> settings()
The settings for the tenant. Includes branding and preference set.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_channelData
final JsonField<InlineChannelDataRequest> _channelData()
Returns the raw JSON value of channelData.
Unlike channelData, this method doesn't throw if the JSON field has an unexpected type.
-
_preferences
final JsonField<InlinePreferenceSetRequest> _preferences()
Returns the raw JSON value of preferences.
Unlike preferences, this method doesn't throw if the JSON field has an unexpected type.
-
_settings
final JsonField<TenantRequest.Settings> _settings()
Returns the raw JSON value of settings.
Unlike settings, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final TenantRequest.Builder toBuilder()
-
validate
final TenantRequest validate()
-
builder
final static TenantRequest.Builder builder()
Returns a mutable builder for constructing an instance of TenantRequest.
The following fields are required:
.id()
-
-
-
-