Class TenantAssociation
-
- All Implemented Interfaces:
public final class TenantAssociation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTenantAssociation.BuilderA builder for TenantAssociation.
public final classTenantAssociation.ProfileAdditional metadata to be applied to a user profile when used in a tenant context
public final classTenantAssociation.Type
-
Method Summary
Modifier and Type Method Description final StringtenantId()Tenant ID for the association between tenant and user final Optional<TenantAssociation.Profile>profile()Additional metadata to be applied to a user profile when used in a tenant context final Optional<TenantAssociation.Type>type()final Optional<String>userId()User ID for the association between tenant and user final JsonField<String>_tenantId()Returns the raw JSON value of tenantId. final JsonField<TenantAssociation.Profile>_profile()Returns the raw JSON value of profile. final JsonField<TenantAssociation.Type>_type()Returns the raw JSON value of type. final JsonField<String>_userId()Returns the raw JSON value of userId. final Map<String, JsonValue>_additionalProperties()final TenantAssociation.BuildertoBuilder()final TenantAssociationvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static TenantAssociation.Builderbuilder()Returns a mutable builder for constructing an instance of TenantAssociation. -
-
Method Detail
-
profile
final Optional<TenantAssociation.Profile> profile()
Additional metadata to be applied to a user profile when used in a tenant context
-
type
final Optional<TenantAssociation.Type> type()
-
_tenantId
final JsonField<String> _tenantId()
Returns the raw JSON value of tenantId.
Unlike tenantId, this method doesn't throw if the JSON field has an unexpected type.
-
_profile
final JsonField<TenantAssociation.Profile> _profile()
Returns the raw JSON value of profile.
Unlike profile, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<TenantAssociation.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_userId
final JsonField<String> _userId()
Returns the raw JSON value of userId.
Unlike userId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final TenantAssociation.Builder toBuilder()
-
validate
final TenantAssociation 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 TenantAssociation.Builder builder()
Returns a mutable builder for constructing an instance of TenantAssociation.
The following fields are required:
.tenantId()
-
-
-
-