Class Contact
- java.lang.Object
-
- com.ellucian.generated.eedm.person_emergency_contacts.v1_0_0.Contact
-
@Generated("jsonschema2pojo") public class Contact extends Object
ContactThe details of the person who is the emergency contact.
-
-
Field Summary
Fields Modifier and Type Field Description private Name
name
Nameprivate List<Phone>
phones
Phonesprivate Relationship
relationship
Relationshipprivate List<Type>
types
Types
-
Constructor Summary
Constructors Constructor Description Contact()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
Name
getName()
NameList<Phone>
getPhones()
PhonesRelationship
getRelationship()
RelationshipList<Type>
getTypes()
Typesint
hashCode()
void
setName(Name name)
Namevoid
setPhones(List<Phone> phones)
Phonesvoid
setRelationship(Relationship relationship)
Relationshipvoid
setTypes(List<Type> types)
TypesString
toString()
Contact
withName(Name name)
Contact
withPhones(List<Phone> phones)
Contact
withRelationship(Relationship relationship)
Contact
withTypes(List<Type> types)
-
-
-
Field Detail
-
name
@JsonPropertyDescription("The name of the contact.") private Name name
NameThe name of the contact. (Required)
-
types
@JsonPropertyDescription("The types of situations when the person should be contacted.") private List<Type> types
TypesThe 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
PhonesThe phone details at which the contact can be reached.
-
relationship
@JsonPropertyDescription("The relationship between the subject person and the contact.") private Relationship relationship
RelationshipThe relationship between the subject person and the contact.
-
-
Method Detail
-
getName
public Name getName()
NameThe name of the contact. (Required)
-
setName
public void setName(Name name)
NameThe name of the contact. (Required)
-
getTypes
public List<Type> getTypes()
TypesThe types of situations when the person should be contacted. (Required)
-
setTypes
public void setTypes(List<Type> types)
TypesThe types of situations when the person should be contacted. (Required)
-
getPhones
public List<Phone> getPhones()
PhonesThe phone details at which the contact can be reached.
-
setPhones
public void setPhones(List<Phone> phones)
PhonesThe phone details at which the contact can be reached.
-
getRelationship
public Relationship getRelationship()
RelationshipThe relationship between the subject person and the contact.
-
setRelationship
public void setRelationship(Relationship relationship)
RelationshipThe relationship between the subject person and the contact.
-
withRelationship
public Contact withRelationship(Relationship relationship)
-
-