Class UserProfileExternalUserDetails
-
- All Implemented Interfaces:
public final class UserProfileExternalUserDetailsDetails about the entity this profile represents, as the platform states them. Anthropic does not verify them. Every field is present,
nulluntil the platform supplies a value.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classUserProfileExternalUserDetails.BuilderA builder for UserProfileExternalUserDetails.
-
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 the platform associates with the entity, as an ISO 3166-1 alpha-2 code. final Optional<String>emailHash()The platform-computed hash of the entity's email address. final Optional<UserProfileExternalUserEntityType>entityType()What kind of entity the profile represents: individual,business,non_profitorgovernment.final Optional<String>nameHash()The platform-computed hash of the entity's name. final Optional<OffsetDateTime>onboardedAt()When the entity opened its account with the platform, as stated by the platform, in RFC 3339 format (UTC). final Optional<String>referenceId()The platform's own reference for the entity. 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 UserProfileExternalUserDetails.BuildertoBuilder()final UserProfileExternalUserDetailsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static UserProfileExternalUserDetails.Builderbuilder()Returns a mutable builder for constructing an instance of UserProfileExternalUserDetails. -
-
Method Detail
-
accountStatus
final Optional<UserProfileExternalUserAccountStatus> accountStatus()
The status of the entity's account on the platform:
active,suspendedorblocked.nulluntil the platform supplies one.
-
country
final Optional<String> country()
The country the platform associates with the entity, as an ISO 3166-1 alpha-2 code.
nulluntil the platform supplies one.
-
emailHash
final Optional<String> emailHash()
The platform-computed hash of the entity's email address.
nulluntil the platform supplies one.
-
entityType
final Optional<UserProfileExternalUserEntityType> entityType()
What kind of entity the profile represents:
individual,business,non_profitorgovernment.nulluntil the platform supplies one.
-
nameHash
final Optional<String> nameHash()
The platform-computed hash of the entity's name.
nulluntil the platform supplies one.
-
onboardedAt
final Optional<OffsetDateTime> onboardedAt()
When the entity opened its account with the platform, as stated by the platform, in RFC 3339 format (UTC).
nulluntil the platform supplies one.
-
referenceId
final Optional<String> referenceId()
The platform's own reference for the entity.
nulluntil the platform supplies one.
-
_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 UserProfileExternalUserDetails.Builder toBuilder()
-
validate
final UserProfileExternalUserDetails 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 UserProfileExternalUserDetails.Builder builder()
Returns a mutable builder for constructing an instance of UserProfileExternalUserDetails.
The following fields are required:
.accountStatus() .country() .emailHash() .entityType() .nameHash() .onboardedAt() .referenceId()
-
-
-
-