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

com.ellucian.generated.eedm.requisitions.v11_1_0.Contact Maven / Gradle / Ivy


package com.ellucian.generated.eedm.requisitions.v11_1_0;

import javax.annotation.processing.Generated;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;


/**
 * Contact
 * 

* The contact for the vendor. * */ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "name", "email" }) @Generated("jsonschema2pojo") public class Contact { /** * Name *

* The name of the contact. * */ @JsonProperty("name") @JsonPropertyDescription("The name of the contact.") private String name; /** * Email *

* The email of the contact. * */ @JsonProperty("email") @JsonPropertyDescription("The email of the contact.") private String email; /** * Name *

* The name of the contact. * */ @JsonProperty("name") public String getName() { return name; } /** * Name *

* The name of the contact. * */ @JsonProperty("name") public void setName(String name) { this.name = name; } public Contact withName(String name) { this.name = name; return this; } /** * Email *

* The email of the contact. * */ @JsonProperty("email") public String getEmail() { return email; } /** * Email *

* The email of the contact. * */ @JsonProperty("email") public void setEmail(String email) { this.email = email; } public Contact withEmail(String email) { this.email = email; return this; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(Contact.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); sb.append("name"); sb.append('='); sb.append(((this.name == null)?"":this.name)); sb.append(','); sb.append("email"); sb.append('='); sb.append(((this.email == null)?"":this.email)); 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.name == null)? 0 :this.name.hashCode())); result = ((result* 31)+((this.email == null)? 0 :this.email.hashCode())); return result; } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof Contact) == false) { return false; } Contact rhs = ((Contact) other); return (((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.email == rhs.email)||((this.email!= null)&&this.email.equals(rhs.email)))); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy