Class TenantUpdateParams.Body
-
- All Implemented Interfaces:
public final class TenantUpdateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTenantUpdateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Stringname()Name of the tenant. final Optional<String>brandId()Brand to be used for the account when one is not specified by the send call. final Optional<DefaultPreferences>defaultPreferences()Defines the preferences used for the tenant when the user hasn't specified their own. final Optional<String>parentTenantId()Tenant's parent id (if any). final Optional<TenantUpdateParams.Properties>properties()Arbitrary properties accessible to a template. final Optional<TenantUpdateParams.UserProfile>userProfile()A user profile object merged with user profile on send. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_brandId()Returns the raw JSON value of brandId. final JsonField<DefaultPreferences>_defaultPreferences()Returns the raw JSON value of defaultPreferences. final JsonField<String>_parentTenantId()Returns the raw JSON value of parentTenantId. final JsonField<TenantUpdateParams.Properties>_properties()Returns the raw JSON value of properties. final JsonField<TenantUpdateParams.UserProfile>_userProfile()Returns the raw JSON value of userProfile. final Map<String, JsonValue>_additionalProperties()final TenantUpdateParams.Body.BuildertoBuilder()final TenantUpdateParams.Bodyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static TenantUpdateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
brandId
final Optional<String> brandId()
Brand to be used for the account when one is not specified by the send call.
-
defaultPreferences
final Optional<DefaultPreferences> defaultPreferences()
Defines the preferences used for the tenant when the user hasn't specified their own.
-
parentTenantId
final Optional<String> parentTenantId()
Tenant's parent id (if any).
-
properties
final Optional<TenantUpdateParams.Properties> properties()
Arbitrary properties accessible to a template.
-
userProfile
final Optional<TenantUpdateParams.UserProfile> userProfile()
A user profile object merged with user profile on send.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_brandId
final JsonField<String> _brandId()
Returns the raw JSON value of brandId.
Unlike brandId, this method doesn't throw if the JSON field has an unexpected type.
-
_defaultPreferences
final JsonField<DefaultPreferences> _defaultPreferences()
Returns the raw JSON value of defaultPreferences.
Unlike defaultPreferences, this method doesn't throw if the JSON field has an unexpected type.
-
_parentTenantId
final JsonField<String> _parentTenantId()
Returns the raw JSON value of parentTenantId.
Unlike parentTenantId, this method doesn't throw if the JSON field has an unexpected type.
-
_properties
final JsonField<TenantUpdateParams.Properties> _properties()
Returns the raw JSON value of properties.
Unlike properties, this method doesn't throw if the JSON field has an unexpected type.
-
_userProfile
final JsonField<TenantUpdateParams.UserProfile> _userProfile()
Returns the raw JSON value of userProfile.
Unlike userProfile, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final TenantUpdateParams.Body.Builder toBuilder()
-
validate
final TenantUpdateParams.Body validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static TenantUpdateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.name()
-
-
-
-