Class SocialMedium

    • Field Detail

      • type

        @JsonPropertyDescription("A type of social media account for a person. Includes a standard type (e.g. \'skype\', \'facebook\') and an optional, custom type to further identify the type of social media account.")
        private Type__4 type
        Social Media

        A type of social media account for a person. Includes a standard type (e.g. 'skype', 'facebook') and an optional, custom type to further identify the type of social media account. (Required)

      • preference

        @JsonPropertyDescription("Specifies if the social media account is preferred over others of the same type. Only one social media should be set to primary for a person.")
        private Object preference
        Preferred Social Media

        Specifies if the social media account is preferred over others of the same type. Only one social media should be set to primary for a person.

      • address

        @JsonPropertyDescription("The username, handle or other address of the social media account.")
        private String address
        Address

        The username, handle or other address of the social media account. (Required)

    • Constructor Detail

      • SocialMedium

        public SocialMedium()
    • Method Detail

      • getType

        public Type__4 getType()
        Social Media

        A type of social media account for a person. Includes a standard type (e.g. 'skype', 'facebook') and an optional, custom type to further identify the type of social media account. (Required)

      • setType

        public void setType​(Type__4 type)
        Social Media

        A type of social media account for a person. Includes a standard type (e.g. 'skype', 'facebook') and an optional, custom type to further identify the type of social media account. (Required)

      • getPreference

        public Object getPreference()
        Preferred Social Media

        Specifies if the social media account is preferred over others of the same type. Only one social media should be set to primary for a person.

      • setPreference

        public void setPreference​(Object preference)
        Preferred Social Media

        Specifies if the social media account is preferred over others of the same type. Only one social media should be set to primary for a person.

      • getAddress

        public String getAddress()
        Address

        The username, handle or other address of the social media account. (Required)

      • setAddress

        public void setAddress​(String address)
        Address

        The username, handle or other address of the social media account. (Required)

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object