Class Contact


  • @Generated("jsonschema2pojo")
    public class Contact
    extends Object
    Contact

    The details of the person who is the emergency contact.

    • Field Detail

      • name

        @JsonPropertyDescription("The name of the contact.")
        private Name name
        Name

        The name of the contact. (Required)

      • types

        @JsonPropertyDescription("The types of situations when the person should be contacted.")
        private List<Type> types
        Types

        The types of situations when the person should be contacted. (Required)

      • phones

        @JsonPropertyDescription("The phone details at which the contact can be reached.")
        private List<Phone> phones
        Phones

        The phone details at which the contact can be reached.

      • relationship

        @JsonPropertyDescription("The relationship between the subject person and the contact.")
        private Relationship relationship
        Relationship

        The relationship between the subject person and the contact.

    • Constructor Detail

      • Contact

        public Contact()
    • Method Detail

      • getName

        public Name getName()
        Name

        The name of the contact. (Required)

      • setName

        public void setName​(Name name)
        Name

        The name of the contact. (Required)

      • getTypes

        public List<Type> getTypes()
        Types

        The types of situations when the person should be contacted. (Required)

      • setTypes

        public void setTypes​(List<Type> types)
        Types

        The types of situations when the person should be contacted. (Required)

      • getPhones

        public List<Phone> getPhones()
        Phones

        The phone details at which the contact can be reached.

      • setPhones

        public void setPhones​(List<Phone> phones)
        Phones

        The phone details at which the contact can be reached.

      • getRelationship

        public Relationship getRelationship()
        Relationship

        The relationship between the subject person and the contact.

      • setRelationship

        public void setRelationship​(Relationship relationship)
        Relationship

        The relationship between the subject person and the contact.

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object