Class Email

    • Field Detail

      • type

        @JsonPropertyDescription("A type of email for the unit. Includes a standard type (e.g. \'general\', \'hr\') and an optional, custom type to further identify the type of email.")
        private Type__2 type
        Type

        A type of email for the unit. Includes a standard type (e.g. 'general', 'hr') and an optional, custom type to further identify the type of email. (Required)

      • preference

        @JsonPropertyDescription("Specifies if the email is preferred over others of the same type or overall")
        private Object preference
        Preferred Email

        Specifies if the email is preferred over others of the same type or overall

      • address

        @JsonPropertyDescription("An email address for the unit")
        private String address
        Email Address

        An email address for the unit (Required)

    • Constructor Detail

      • Email

        public Email()
    • Method Detail

      • getType

        public Type__2 getType()
        Type

        A type of email for the unit. Includes a standard type (e.g. 'general', 'hr') and an optional, custom type to further identify the type of email. (Required)

      • setType

        public void setType​(Type__2 type)
        Type

        A type of email for the unit. Includes a standard type (e.g. 'general', 'hr') and an optional, custom type to further identify the type of email. (Required)

      • getPreference

        public Object getPreference()
        Preferred Email

        Specifies if the email is preferred over others of the same type or overall

      • setPreference

        public void setPreference​(Object preference)
        Preferred Email

        Specifies if the email is preferred over others of the same type or overall

      • withPreference

        public Email withPreference​(Object preference)
      • getAddress

        public String getAddress()
        Email Address

        An email address for the unit (Required)

      • setAddress

        public void setAddress​(String address)
        Email Address

        An email address for the unit (Required)

      • withAddress

        public Email withAddress​(String address)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object