package eu.eudat.models.rda; import java.io.Serializable; import java.util.HashMap; import java.util.Map; import com.fasterxml.jackson.annotation.*; /** * The DMP Contact Schema *
* * */ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "contact_id", "mbox", "name" }) @JsonIgnoreProperties(ignoreUnknown = true) public class Contact implements Serializable { /** * The Contact ID Schema *
* * (Required) * */ @JsonProperty("contact_id") private ContactId contactId; /** * The Mailbox Schema *
* Contact Person's E-mail address * (Required) * */ @JsonProperty("mbox") @JsonPropertyDescription("Contact Person's E-mail address") private String mbox; /** * The Name Schema *
* Name of the contact person
* (Required)
*
*/
@JsonProperty("name")
@JsonPropertyDescription("Name of the contact person")
private String name;
@JsonIgnore
private Map
*
* (Required)
*
*/
@JsonProperty("contact_id")
public ContactId getContactId() {
return contactId;
}
/**
* The Contact ID Schema
*
*
* (Required)
*
*/
@JsonProperty("contact_id")
public void setContactId(ContactId contactId) {
this.contactId = contactId;
}
/**
* The Mailbox Schema
*
* Contact Person's E-mail address
* (Required)
*
*/
@JsonProperty("mbox")
public String getMbox() {
return mbox;
}
/**
* The Mailbox Schema
*
* Contact Person's E-mail address
* (Required)
*
*/
@JsonProperty("mbox")
public void setMbox(String mbox) {
this.mbox = mbox;
}
/**
* The Name Schema
*
* Name of the contact person
* (Required)
*
*/
@JsonProperty("name")
public String getName() {
return name;
}
/**
* The Name Schema
*
* Name of the contact person
* (Required)
*
*/
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
@JsonProperty("additional_properties")
public Map