Class UserProfileUpdateParams.Body
-
- All Implemented Interfaces:
public final class UserProfileUpdateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classUserProfileUpdateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Optional<UserProfileAccessType>accessType()If present, replaces the stored access type. final Optional<UserProfileExternalUserDetailsParams>externalUserDetails()Details about the entity this profile represents, as the platform states them. final Optional<UserProfileUpdateParams.Metadata>metadata()Key-value pairs to merge into the stored metadata. final Optional<String>name()If present, replaces the stored name. final JsonField<UserProfileAccessType>_accessType()Returns the raw JSON value of accessType. final JsonField<UserProfileExternalUserDetailsParams>_externalUserDetails()Returns the raw JSON value of externalUserDetails. final JsonField<UserProfileUpdateParams.Metadata>_metadata()Returns the raw JSON value of metadata. final JsonField<String>_name()Returns the raw JSON value of name. final Map<String, JsonValue>_additionalProperties()final UserProfileUpdateParams.Body.BuildertoBuilder()final UserProfileUpdateParams.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 UserProfileUpdateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
accessType
final Optional<UserProfileAccessType> accessType()
If present, replaces the stored access type. Omit to leave unchanged.
-
externalUserDetails
final Optional<UserProfileExternalUserDetailsParams> externalUserDetails()
Details about the entity this profile represents, as the platform states them. Each field sent replaces the stored value; omit a field to leave it unchanged. Once set, a value cannot be cleared and
nullis rejected. Not accepted under the legacyuser-profiles-2026-03-24anduser-profiles-2026-08-18beta headers.
-
metadata
final Optional<UserProfileUpdateParams.Metadata> metadata()
Key-value pairs to merge into the stored metadata. Keys provided overwrite existing values. To remove a key, set its value to an empty string. Keys not provided are left unchanged. Maximum 16 keys, with keys up to 64 characters and values up to 512 characters.
-
name
final Optional<String> name()
If present, replaces the stored name. Omit to leave unchanged. Maximum 255 characters.
-
_accessType
final JsonField<UserProfileAccessType> _accessType()
Returns the raw JSON value of accessType.
Unlike accessType, this method doesn't throw if the JSON field has an unexpected type.
-
_externalUserDetails
final JsonField<UserProfileExternalUserDetailsParams> _externalUserDetails()
Returns the raw JSON value of externalUserDetails.
Unlike externalUserDetails, this method doesn't throw if the JSON field has an unexpected type.
-
_metadata
final JsonField<UserProfileUpdateParams.Metadata> _metadata()
Returns the raw JSON value of metadata.
Unlike metadata, 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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final UserProfileUpdateParams.Body.Builder toBuilder()
-
validate
final UserProfileUpdateParams.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 UserProfileUpdateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
-
-
-
-