Package app.knock.api.models.tenants
Class Tenant
-
- All Implemented Interfaces:
public final class TenantA tenant entity.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTenant.BuilderA builder for Tenant.
public final classTenant.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 String_typename()The typename of the schema. final Optional<String>name()An optional name for the tenant. final Optional<Tenant.Settings>settings()The settings for the tenant. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>__typename()Returns the raw JSON value of _typename. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<Tenant.Settings>_settings()Returns the raw JSON value of settings. final Map<String, JsonValue>_additionalProperties()final Tenant.BuildertoBuilder()final Tenantvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Tenant.Builderbuilder()Returns a mutable builder for constructing an instance of Tenant. -
-
Method Detail
-
settings
final Optional<Tenant.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.
-
__typename
final JsonField<String> __typename()
Returns the raw JSON value of _typename.
Unlike _typename, this method doesn't throw if the JSON field has an unexpected type.
-
_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.
-
_settings
final JsonField<Tenant.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 Tenant.Builder toBuilder()
-
builder
final static Tenant.Builder builder()
Returns a mutable builder for constructing an instance of Tenant.
The following fields are required:
.id() ._typename()
-
-
-
-