Class Person
-
- All Implemented Interfaces:
public final class Person
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPerson.BuilderA builder for Person.
-
Method Summary
Modifier and Type Method Description final Stringid()UUID of an existing person final Stringemail()Email address used for notifications and account linkage final List<String>externalReferences()Your own identifiers for this person final Stringname()Full legal name final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_email()Returns the raw JSON value of email. final JsonField<List<String>>_externalReferences()Returns the raw JSON value of externalReferences. final JsonField<String>_name()Returns the raw JSON value of name. final Map<String, JsonValue>_additionalProperties()final Person.BuildertoBuilder()final Personvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Person.Builderbuilder()Returns a mutable builder for constructing an instance of Person. -
-
Method Detail
-
externalReferences
final List<String> externalReferences()
Your own identifiers for this person
-
_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.
-
_email
final JsonField<String> _email()
Returns the raw JSON value of email.
Unlike email, this method doesn't throw if the JSON field has an unexpected type.
-
_externalReferences
final JsonField<List<String>> _externalReferences()
Returns the raw JSON value of externalReferences.
Unlike externalReferences, 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 Person.Builder toBuilder()
-
builder
final static Person.Builder builder()
Returns a mutable builder for constructing an instance of Person.
The following fields are required:
.id() .email() .externalReferences() .name()
-
-
-
-