Class UserProfileExternalUserDetailsParams
-
- All Implemented Interfaces:
public final class UserProfileExternalUserDetailsParams
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classUserProfileExternalUserDetailsParams.BuilderA builder for UserProfileExternalUserDetailsParams.
-
Method Summary
Modifier and Type Method Description final Optional<UserProfileExternalUserAccountStatus>accountStatus()The status of the entity's account on the platform: active,suspendedorblocked.final Optional<String>country()The country of the entity (not of the platform), as the platform determines it: an ISO 3166-1 alpha-2 code in upper case, for example US.final Optional<String>emailHash()A hash of the entity's email address, computed by the platform. final Optional<UserProfileExternalUserEntityType>entityType()What kind of entity the profile represents: individual,business,non_profitorgovernment.final Optional<String>nameHash()A hash of the entity's name, computed by the platform. final Optional<OffsetDateTime>onboardedAt()When the entity opened its account with the platform, in RFC 3339 format: for an applicationprofile, when the end-user signed up; for apassthroughprofile, when the company became the platform's customer.final Optional<String>referenceId()The platform's own reference for the entity, for example the key of the end-user's row in the platform's database. final JsonField<UserProfileExternalUserAccountStatus>_accountStatus()Returns the raw JSON value of accountStatus. final JsonField<String>_country()Returns the raw JSON value of country. final JsonField<String>_emailHash()Returns the raw JSON value of emailHash. final JsonField<UserProfileExternalUserEntityType>_entityType()Returns the raw JSON value of entityType. final JsonField<String>_nameHash()Returns the raw JSON value of nameHash. final JsonField<OffsetDateTime>_onboardedAt()Returns the raw JSON value of onboardedAt. final JsonField<String>_referenceId()Returns the raw JSON value of referenceId. final Map<String, JsonValue>_additionalProperties()final UserProfileExternalUserDetailsParams.BuildertoBuilder()final UserProfileExternalUserDetailsParamsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static UserProfileExternalUserDetailsParams.Builderbuilder()Returns a mutable builder for constructing an instance of UserProfileExternalUserDetailsParams. -
-
Method Detail
-
accountStatus
final Optional<UserProfileExternalUserAccountStatus> accountStatus()
The status of the entity's account on the platform:
active,suspendedorblocked.
-
country
final Optional<String> country()
The country of the entity (not of the platform), as the platform determines it: an ISO 3166-1 alpha-2 code in upper case, for example
US. Only the form, two uppercase ASCII letters, is checked.
-
emailHash
final Optional<String> emailHash()
A hash of the entity's email address, computed by the platform. Anthropic treats it as an opaque string and does not prescribe the hash function. 1 to 255 characters.
-
entityType
final Optional<UserProfileExternalUserEntityType> entityType()
What kind of entity the profile represents:
individual,business,non_profitorgovernment.
-
nameHash
final Optional<String> nameHash()
A hash of the entity's name, computed by the platform. Anthropic treats it as an opaque string and does not prescribe the hash function. 1 to 255 characters.
-
onboardedAt
final Optional<OffsetDateTime> onboardedAt()
When the entity opened its account with the platform, in RFC 3339 format: for an
applicationprofile, when the end-user signed up; for apassthroughprofile, when the company became the platform's customer. Must be a complete timestamp no more than 1 minute in the future.
-
referenceId
final Optional<String> referenceId()
The platform's own reference for the entity, for example the key of the end-user's row in the platform's database. Not interpreted by Anthropic and not enforced unique. 1 to 255 characters.
-
_accountStatus
final JsonField<UserProfileExternalUserAccountStatus> _accountStatus()
Returns the raw JSON value of accountStatus.
Unlike accountStatus, this method doesn't throw if the JSON field has an unexpected type.
-
_country
final JsonField<String> _country()
Returns the raw JSON value of country.
Unlike country, this method doesn't throw if the JSON field has an unexpected type.
-
_emailHash
final JsonField<String> _emailHash()
Returns the raw JSON value of emailHash.
Unlike emailHash, this method doesn't throw if the JSON field has an unexpected type.
-
_entityType
final JsonField<UserProfileExternalUserEntityType> _entityType()
Returns the raw JSON value of entityType.
Unlike entityType, this method doesn't throw if the JSON field has an unexpected type.
-
_nameHash
final JsonField<String> _nameHash()
Returns the raw JSON value of nameHash.
Unlike nameHash, this method doesn't throw if the JSON field has an unexpected type.
-
_onboardedAt
final JsonField<OffsetDateTime> _onboardedAt()
Returns the raw JSON value of onboardedAt.
Unlike onboardedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_referenceId
final JsonField<String> _referenceId()
Returns the raw JSON value of referenceId.
Unlike referenceId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final UserProfileExternalUserDetailsParams.Builder toBuilder()
-
validate
final UserProfileExternalUserDetailsParams 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 UserProfileExternalUserDetailsParams.Builder builder()
Returns a mutable builder for constructing an instance of UserProfileExternalUserDetailsParams.
-
-
-
-