All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ellucian.generated.eedm.persons.v8_0.Persons Maven / Gradle / Ivy


package com.ellucian.generated.eedm.persons.v8_0;

import java.util.ArrayList;
import java.util.List;
import javax.annotation.processing.Generated;
import com.ellucian.generated.eedm.academic_catalogs.v6_0.Metadata;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;


/**
 * Persons
 * 

* An individual who interacts independently with the institution in a variety of roles (for example, "student", "constituent", or "vendor"). * */ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "metadata", "id", "privacyStatus", "names", "dateOfBirth", "dateDeceased", "gender", "religion", "ethnicity", "races", "languages", "maritalStatus", "citizenshipStatus", "countryOfBirth", "citizenshipCountry", "roles", "identityDocuments", "credentials", "interests", "addresses", "phones", "emails", "socialMedia" }) @Generated("jsonschema2pojo") public class Persons { /** * Metadata *

* Metadata about the JSON payload * */ @JsonProperty("metadata") @JsonPropertyDescription("Metadata about the JSON payload") private Metadata metadata; /** * ID *

* A global identifier of a person. * (Required) * */ @JsonProperty("id") @JsonPropertyDescription("A global identifier of a person.") private String id; /** * Privacy Status *

* A privacy status of person's information. * */ @JsonProperty("privacyStatus") @JsonPropertyDescription("A privacy status of person's information.") private Object privacyStatus; /** * Names *

* The names associated with a person, specified by type (for example, "legal" or "birth"). * (Required) * */ @JsonProperty("names") @JsonPropertyDescription("The names associated with a person, specified by type (for example, \"legal\" or \"birth\").") private List names = new ArrayList(); /** * Date of Birth *

* The date when a person was born. * */ @JsonProperty("dateOfBirth") @JsonPropertyDescription("The date when a person was born.") private Object dateOfBirth; /** * Date Deceased *

* The date when a person died. * */ @JsonProperty("dateDeceased") @JsonPropertyDescription("The date when a person died.") private Object dateDeceased; /** * Gender *

* The biological or social cultural masculinity or femininity of the person. * */ @JsonProperty("gender") @JsonPropertyDescription("The biological or social cultural masculinity or femininity of the person.") private Object gender; /** * Religion *

* The religion of the person. * */ @JsonProperty("religion") @JsonPropertyDescription("The religion of the person.") private Object religion; /** * Ethnicity *

* The ethnicity association of the person. * */ @JsonProperty("ethnicity") @JsonPropertyDescription("The ethnicity association of the person.") private Ethnicity ethnicity; /** * Races *

* The racial groups to which a person belongs. * */ @JsonProperty("races") @JsonPropertyDescription("The racial groups to which a person belongs.") private List races = new ArrayList(); /** * Languages *

* The languages the person has certain degree of proficiency in * */ @JsonProperty("languages") @JsonPropertyDescription("The languages the person has certain degree of proficiency in") private List languages = new ArrayList(); /** * Marital Status *

* The current marital state (for example, single, married, or divorced) of the person. * */ @JsonProperty("maritalStatus") @JsonPropertyDescription("The current marital state (for example, single, married, or divorced) of the person.") private Object maritalStatus; /** * Citizenship Status *

* The citizenship status of the person with regards to the country where a given institution is located. * */ @JsonProperty("citizenshipStatus") @JsonPropertyDescription("The citizenship status of the person with regards to the country where a given institution is located.") private Object citizenshipStatus; /** * Country of Birth *

* The ISO 3166-1 alpha-3 code of the country which the person was born in * */ @JsonProperty("countryOfBirth") @JsonPropertyDescription("The ISO 3166-1 alpha-3 code of the country which the person was born in") private Object countryOfBirth; /** * Citizenship Country *

* The country in which the person is a citizen. * */ @JsonProperty("citizenshipCountry") @JsonPropertyDescription("The country in which the person is a citizen.") private Object citizenshipCountry; /** * Role *

* The roles that a person fills as he/she interacts with the institution. * */ @JsonProperty("roles") @JsonPropertyDescription("The roles that a person fills as he/she interacts with the institution.") private List roles = new ArrayList(); /** * Identity Documents *

* Person's govermnent issued identity documents * */ @JsonProperty("identityDocuments") @JsonPropertyDescription("Person's govermnent issued identity documents") private List identityDocuments = new ArrayList(); /** * Credentials *

* Information that identifies a user to a system such as a network or computer. * */ @JsonProperty("credentials") @JsonPropertyDescription("Information that identifies a user to a system such as a network or computer.") private List credentials = new ArrayList(); /** * Interests *

* Interests recorded for this person. * */ @JsonProperty("interests") @JsonPropertyDescription("Interests recorded for this person.") private List interests = new ArrayList(); /** * Address *

* The physical addresses where a person resides or may be contacted by mail. * */ @JsonProperty("addresses") @JsonPropertyDescription("The physical addresses where a person resides or may be contacted by mail.") private List

addresses = new ArrayList
(); /** * Phone *

* The phones and phone-connected devices at which a person can be contacted. * */ @JsonProperty("phones") @JsonPropertyDescription("The phones and phone-connected devices at which a person can be contacted.") private List phones = new ArrayList(); /** * Email *

* The email addresses at which a person can be contacted. * */ @JsonProperty("emails") @JsonPropertyDescription("The email addresses at which a person can be contacted.") private List emails = new ArrayList(); /** * Social Media *

* The social media account at which a person can be contacted. * */ @JsonProperty("socialMedia") @JsonPropertyDescription("The social media account at which a person can be contacted.") private List socialMedia = new ArrayList(); /** * Metadata *

* Metadata about the JSON payload * */ @JsonProperty("metadata") public Metadata getMetadata() { return metadata; } /** * Metadata *

* Metadata about the JSON payload * */ @JsonProperty("metadata") public void setMetadata(Metadata metadata) { this.metadata = metadata; } public Persons withMetadata(Metadata metadata) { this.metadata = metadata; return this; } /** * ID *

* A global identifier of a person. * (Required) * */ @JsonProperty("id") public String getId() { return id; } /** * ID *

* A global identifier of a person. * (Required) * */ @JsonProperty("id") public void setId(String id) { this.id = id; } public Persons withId(String id) { this.id = id; return this; } /** * Privacy Status *

* A privacy status of person's information. * */ @JsonProperty("privacyStatus") public Object getPrivacyStatus() { return privacyStatus; } /** * Privacy Status *

* A privacy status of person's information. * */ @JsonProperty("privacyStatus") public void setPrivacyStatus(Object privacyStatus) { this.privacyStatus = privacyStatus; } public Persons withPrivacyStatus(Object privacyStatus) { this.privacyStatus = privacyStatus; return this; } /** * Names *

* The names associated with a person, specified by type (for example, "legal" or "birth"). * (Required) * */ @JsonProperty("names") public List getNames() { return names; } /** * Names *

* The names associated with a person, specified by type (for example, "legal" or "birth"). * (Required) * */ @JsonProperty("names") public void setNames(List names) { this.names = names; } public Persons withNames(List names) { this.names = names; return this; } /** * Date of Birth *

* The date when a person was born. * */ @JsonProperty("dateOfBirth") public Object getDateOfBirth() { return dateOfBirth; } /** * Date of Birth *

* The date when a person was born. * */ @JsonProperty("dateOfBirth") public void setDateOfBirth(Object dateOfBirth) { this.dateOfBirth = dateOfBirth; } public Persons withDateOfBirth(Object dateOfBirth) { this.dateOfBirth = dateOfBirth; return this; } /** * Date Deceased *

* The date when a person died. * */ @JsonProperty("dateDeceased") public Object getDateDeceased() { return dateDeceased; } /** * Date Deceased *

* The date when a person died. * */ @JsonProperty("dateDeceased") public void setDateDeceased(Object dateDeceased) { this.dateDeceased = dateDeceased; } public Persons withDateDeceased(Object dateDeceased) { this.dateDeceased = dateDeceased; return this; } /** * Gender *

* The biological or social cultural masculinity or femininity of the person. * */ @JsonProperty("gender") public Object getGender() { return gender; } /** * Gender *

* The biological or social cultural masculinity or femininity of the person. * */ @JsonProperty("gender") public void setGender(Object gender) { this.gender = gender; } public Persons withGender(Object gender) { this.gender = gender; return this; } /** * Religion *

* The religion of the person. * */ @JsonProperty("religion") public Object getReligion() { return religion; } /** * Religion *

* The religion of the person. * */ @JsonProperty("religion") public void setReligion(Object religion) { this.religion = religion; } public Persons withReligion(Object religion) { this.religion = religion; return this; } /** * Ethnicity *

* The ethnicity association of the person. * */ @JsonProperty("ethnicity") public Ethnicity getEthnicity() { return ethnicity; } /** * Ethnicity *

* The ethnicity association of the person. * */ @JsonProperty("ethnicity") public void setEthnicity(Ethnicity ethnicity) { this.ethnicity = ethnicity; } public Persons withEthnicity(Ethnicity ethnicity) { this.ethnicity = ethnicity; return this; } /** * Races *

* The racial groups to which a person belongs. * */ @JsonProperty("races") public List getRaces() { return races; } /** * Races *

* The racial groups to which a person belongs. * */ @JsonProperty("races") public void setRaces(List races) { this.races = races; } public Persons withRaces(List races) { this.races = races; return this; } /** * Languages *

* The languages the person has certain degree of proficiency in * */ @JsonProperty("languages") public List getLanguages() { return languages; } /** * Languages *

* The languages the person has certain degree of proficiency in * */ @JsonProperty("languages") public void setLanguages(List languages) { this.languages = languages; } public Persons withLanguages(List languages) { this.languages = languages; return this; } /** * Marital Status *

* The current marital state (for example, single, married, or divorced) of the person. * */ @JsonProperty("maritalStatus") public Object getMaritalStatus() { return maritalStatus; } /** * Marital Status *

* The current marital state (for example, single, married, or divorced) of the person. * */ @JsonProperty("maritalStatus") public void setMaritalStatus(Object maritalStatus) { this.maritalStatus = maritalStatus; } public Persons withMaritalStatus(Object maritalStatus) { this.maritalStatus = maritalStatus; return this; } /** * Citizenship Status *

* The citizenship status of the person with regards to the country where a given institution is located. * */ @JsonProperty("citizenshipStatus") public Object getCitizenshipStatus() { return citizenshipStatus; } /** * Citizenship Status *

* The citizenship status of the person with regards to the country where a given institution is located. * */ @JsonProperty("citizenshipStatus") public void setCitizenshipStatus(Object citizenshipStatus) { this.citizenshipStatus = citizenshipStatus; } public Persons withCitizenshipStatus(Object citizenshipStatus) { this.citizenshipStatus = citizenshipStatus; return this; } /** * Country of Birth *

* The ISO 3166-1 alpha-3 code of the country which the person was born in * */ @JsonProperty("countryOfBirth") public Object getCountryOfBirth() { return countryOfBirth; } /** * Country of Birth *

* The ISO 3166-1 alpha-3 code of the country which the person was born in * */ @JsonProperty("countryOfBirth") public void setCountryOfBirth(Object countryOfBirth) { this.countryOfBirth = countryOfBirth; } public Persons withCountryOfBirth(Object countryOfBirth) { this.countryOfBirth = countryOfBirth; return this; } /** * Citizenship Country *

* The country in which the person is a citizen. * */ @JsonProperty("citizenshipCountry") public Object getCitizenshipCountry() { return citizenshipCountry; } /** * Citizenship Country *

* The country in which the person is a citizen. * */ @JsonProperty("citizenshipCountry") public void setCitizenshipCountry(Object citizenshipCountry) { this.citizenshipCountry = citizenshipCountry; } public Persons withCitizenshipCountry(Object citizenshipCountry) { this.citizenshipCountry = citizenshipCountry; return this; } /** * Role *

* The roles that a person fills as he/she interacts with the institution. * */ @JsonProperty("roles") public List getRoles() { return roles; } /** * Role *

* The roles that a person fills as he/she interacts with the institution. * */ @JsonProperty("roles") public void setRoles(List roles) { this.roles = roles; } public Persons withRoles(List roles) { this.roles = roles; return this; } /** * Identity Documents *

* Person's govermnent issued identity documents * */ @JsonProperty("identityDocuments") public List getIdentityDocuments() { return identityDocuments; } /** * Identity Documents *

* Person's govermnent issued identity documents * */ @JsonProperty("identityDocuments") public void setIdentityDocuments(List identityDocuments) { this.identityDocuments = identityDocuments; } public Persons withIdentityDocuments(List identityDocuments) { this.identityDocuments = identityDocuments; return this; } /** * Credentials *

* Information that identifies a user to a system such as a network or computer. * */ @JsonProperty("credentials") public List getCredentials() { return credentials; } /** * Credentials *

* Information that identifies a user to a system such as a network or computer. * */ @JsonProperty("credentials") public void setCredentials(List credentials) { this.credentials = credentials; } public Persons withCredentials(List credentials) { this.credentials = credentials; return this; } /** * Interests *

* Interests recorded for this person. * */ @JsonProperty("interests") public List getInterests() { return interests; } /** * Interests *

* Interests recorded for this person. * */ @JsonProperty("interests") public void setInterests(List interests) { this.interests = interests; } public Persons withInterests(List interests) { this.interests = interests; return this; } /** * Address *

* The physical addresses where a person resides or may be contacted by mail. * */ @JsonProperty("addresses") public List

getAddresses() { return addresses; } /** * Address *

* The physical addresses where a person resides or may be contacted by mail. * */ @JsonProperty("addresses") public void setAddresses(List

addresses) { this.addresses = addresses; } public Persons withAddresses(List
addresses) { this.addresses = addresses; return this; } /** * Phone *

* The phones and phone-connected devices at which a person can be contacted. * */ @JsonProperty("phones") public List getPhones() { return phones; } /** * Phone *

* The phones and phone-connected devices at which a person can be contacted. * */ @JsonProperty("phones") public void setPhones(List phones) { this.phones = phones; } public Persons withPhones(List phones) { this.phones = phones; return this; } /** * Email *

* The email addresses at which a person can be contacted. * */ @JsonProperty("emails") public List getEmails() { return emails; } /** * Email *

* The email addresses at which a person can be contacted. * */ @JsonProperty("emails") public void setEmails(List emails) { this.emails = emails; } public Persons withEmails(List emails) { this.emails = emails; return this; } /** * Social Media *

* The social media account at which a person can be contacted. * */ @JsonProperty("socialMedia") public List getSocialMedia() { return socialMedia; } /** * Social Media *

* The social media account at which a person can be contacted. * */ @JsonProperty("socialMedia") public void setSocialMedia(List socialMedia) { this.socialMedia = socialMedia; } public Persons withSocialMedia(List socialMedia) { this.socialMedia = socialMedia; return this; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(Persons.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); sb.append("metadata"); sb.append('='); sb.append(((this.metadata == null)?"":this.metadata)); sb.append(','); sb.append("id"); sb.append('='); sb.append(((this.id == null)?"":this.id)); sb.append(','); sb.append("privacyStatus"); sb.append('='); sb.append(((this.privacyStatus == null)?"":this.privacyStatus)); sb.append(','); sb.append("names"); sb.append('='); sb.append(((this.names == null)?"":this.names)); sb.append(','); sb.append("dateOfBirth"); sb.append('='); sb.append(((this.dateOfBirth == null)?"":this.dateOfBirth)); sb.append(','); sb.append("dateDeceased"); sb.append('='); sb.append(((this.dateDeceased == null)?"":this.dateDeceased)); sb.append(','); sb.append("gender"); sb.append('='); sb.append(((this.gender == null)?"":this.gender)); sb.append(','); sb.append("religion"); sb.append('='); sb.append(((this.religion == null)?"":this.religion)); sb.append(','); sb.append("ethnicity"); sb.append('='); sb.append(((this.ethnicity == null)?"":this.ethnicity)); sb.append(','); sb.append("races"); sb.append('='); sb.append(((this.races == null)?"":this.races)); sb.append(','); sb.append("languages"); sb.append('='); sb.append(((this.languages == null)?"":this.languages)); sb.append(','); sb.append("maritalStatus"); sb.append('='); sb.append(((this.maritalStatus == null)?"":this.maritalStatus)); sb.append(','); sb.append("citizenshipStatus"); sb.append('='); sb.append(((this.citizenshipStatus == null)?"":this.citizenshipStatus)); sb.append(','); sb.append("countryOfBirth"); sb.append('='); sb.append(((this.countryOfBirth == null)?"":this.countryOfBirth)); sb.append(','); sb.append("citizenshipCountry"); sb.append('='); sb.append(((this.citizenshipCountry == null)?"":this.citizenshipCountry)); sb.append(','); sb.append("roles"); sb.append('='); sb.append(((this.roles == null)?"":this.roles)); sb.append(','); sb.append("identityDocuments"); sb.append('='); sb.append(((this.identityDocuments == null)?"":this.identityDocuments)); sb.append(','); sb.append("credentials"); sb.append('='); sb.append(((this.credentials == null)?"":this.credentials)); sb.append(','); sb.append("interests"); sb.append('='); sb.append(((this.interests == null)?"":this.interests)); sb.append(','); sb.append("addresses"); sb.append('='); sb.append(((this.addresses == null)?"":this.addresses)); sb.append(','); sb.append("phones"); sb.append('='); sb.append(((this.phones == null)?"":this.phones)); sb.append(','); sb.append("emails"); sb.append('='); sb.append(((this.emails == null)?"":this.emails)); sb.append(','); sb.append("socialMedia"); sb.append('='); sb.append(((this.socialMedia == null)?"":this.socialMedia)); sb.append(','); if (sb.charAt((sb.length()- 1)) == ',') { sb.setCharAt((sb.length()- 1), ']'); } else { sb.append(']'); } return sb.toString(); } @Override public int hashCode() { int result = 1; result = ((result* 31)+((this.metadata == null)? 0 :this.metadata.hashCode())); result = ((result* 31)+((this.addresses == null)? 0 :this.addresses.hashCode())); result = ((result* 31)+((this.gender == null)? 0 :this.gender.hashCode())); result = ((result* 31)+((this.ethnicity == null)? 0 :this.ethnicity.hashCode())); result = ((result* 31)+((this.languages == null)? 0 :this.languages.hashCode())); result = ((result* 31)+((this.credentials == null)? 0 :this.credentials.hashCode())); result = ((result* 31)+((this.privacyStatus == null)? 0 :this.privacyStatus.hashCode())); result = ((result* 31)+((this.dateDeceased == null)? 0 :this.dateDeceased.hashCode())); result = ((result* 31)+((this.roles == null)? 0 :this.roles.hashCode())); result = ((result* 31)+((this.phones == null)? 0 :this.phones.hashCode())); result = ((result* 31)+((this.dateOfBirth == null)? 0 :this.dateOfBirth.hashCode())); result = ((result* 31)+((this.socialMedia == null)? 0 :this.socialMedia.hashCode())); result = ((result* 31)+((this.religion == null)? 0 :this.religion.hashCode())); result = ((result* 31)+((this.citizenshipCountry == null)? 0 :this.citizenshipCountry.hashCode())); result = ((result* 31)+((this.emails == null)? 0 :this.emails.hashCode())); result = ((result* 31)+((this.citizenshipStatus == null)? 0 :this.citizenshipStatus.hashCode())); result = ((result* 31)+((this.names == null)? 0 :this.names.hashCode())); result = ((result* 31)+((this.countryOfBirth == null)? 0 :this.countryOfBirth.hashCode())); result = ((result* 31)+((this.races == null)? 0 :this.races.hashCode())); result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode())); result = ((result* 31)+((this.identityDocuments == null)? 0 :this.identityDocuments.hashCode())); result = ((result* 31)+((this.interests == null)? 0 :this.interests.hashCode())); result = ((result* 31)+((this.maritalStatus == null)? 0 :this.maritalStatus.hashCode())); return result; } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof Persons) == false) { return false; } Persons rhs = ((Persons) other); return ((((((((((((((((((((((((this.metadata == rhs.metadata)||((this.metadata!= null)&&this.metadata.equals(rhs.metadata)))&&((this.addresses == rhs.addresses)||((this.addresses!= null)&&this.addresses.equals(rhs.addresses))))&&((this.gender == rhs.gender)||((this.gender!= null)&&this.gender.equals(rhs.gender))))&&((this.ethnicity == rhs.ethnicity)||((this.ethnicity!= null)&&this.ethnicity.equals(rhs.ethnicity))))&&((this.languages == rhs.languages)||((this.languages!= null)&&this.languages.equals(rhs.languages))))&&((this.credentials == rhs.credentials)||((this.credentials!= null)&&this.credentials.equals(rhs.credentials))))&&((this.privacyStatus == rhs.privacyStatus)||((this.privacyStatus!= null)&&this.privacyStatus.equals(rhs.privacyStatus))))&&((this.dateDeceased == rhs.dateDeceased)||((this.dateDeceased!= null)&&this.dateDeceased.equals(rhs.dateDeceased))))&&((this.roles == rhs.roles)||((this.roles!= null)&&this.roles.equals(rhs.roles))))&&((this.phones == rhs.phones)||((this.phones!= null)&&this.phones.equals(rhs.phones))))&&((this.dateOfBirth == rhs.dateOfBirth)||((this.dateOfBirth!= null)&&this.dateOfBirth.equals(rhs.dateOfBirth))))&&((this.socialMedia == rhs.socialMedia)||((this.socialMedia!= null)&&this.socialMedia.equals(rhs.socialMedia))))&&((this.religion == rhs.religion)||((this.religion!= null)&&this.religion.equals(rhs.religion))))&&((this.citizenshipCountry == rhs.citizenshipCountry)||((this.citizenshipCountry!= null)&&this.citizenshipCountry.equals(rhs.citizenshipCountry))))&&((this.emails == rhs.emails)||((this.emails!= null)&&this.emails.equals(rhs.emails))))&&((this.citizenshipStatus == rhs.citizenshipStatus)||((this.citizenshipStatus!= null)&&this.citizenshipStatus.equals(rhs.citizenshipStatus))))&&((this.names == rhs.names)||((this.names!= null)&&this.names.equals(rhs.names))))&&((this.countryOfBirth == rhs.countryOfBirth)||((this.countryOfBirth!= null)&&this.countryOfBirth.equals(rhs.countryOfBirth))))&&((this.races == rhs.races)||((this.races!= null)&&this.races.equals(rhs.races))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.identityDocuments == rhs.identityDocuments)||((this.identityDocuments!= null)&&this.identityDocuments.equals(rhs.identityDocuments))))&&((this.interests == rhs.interests)||((this.interests!= null)&&this.interests.equals(rhs.interests))))&&((this.maritalStatus == rhs.maritalStatus)||((this.maritalStatus!= null)&&this.maritalStatus.equals(rhs.maritalStatus)))); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy