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

com.ellucian.generated.eedm.requisitions.v11_0.Fax Maven / Gradle / Ivy


package com.ellucian.generated.eedm.requisitions.v11_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;


/**
 * Fax
 * 

* The fax number of the initiator. * */ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "number", "extension" }) @Generated("jsonschema2pojo") public class Fax { /** * Number *

* The number assigned to the fax line. * */ @JsonProperty("number") @JsonPropertyDescription("The number assigned to the fax line.") private String number; /** * Extension *

* The extension used to connect to the fax line when multiple lines share the same primary number. * */ @JsonProperty("extension") @JsonPropertyDescription("The extension used to connect to the fax line when multiple lines share the same primary number.") private String extension; /** * Number *

* The number assigned to the fax line. * */ @JsonProperty("number") public String getNumber() { return number; } /** * Number *

* The number assigned to the fax line. * */ @JsonProperty("number") public void setNumber(String number) { this.number = number; } public Fax withNumber(String number) { this.number = number; return this; } /** * Extension *

* The extension used to connect to the fax line when multiple lines share the same primary number. * */ @JsonProperty("extension") public String getExtension() { return extension; } /** * Extension *

* The extension used to connect to the fax line when multiple lines share the same primary number. * */ @JsonProperty("extension") public void setExtension(String extension) { this.extension = extension; } public Fax withExtension(String extension) { this.extension = extension; return this; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(Fax.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); sb.append("number"); sb.append('='); sb.append(((this.number == null)?"":this.number)); sb.append(','); sb.append("extension"); sb.append('='); sb.append(((this.extension == null)?"":this.extension)); 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.number == null)? 0 :this.number.hashCode())); result = ((result* 31)+((this.extension == null)? 0 :this.extension.hashCode())); return result; } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof Fax) == false) { return false; } Fax rhs = ((Fax) other); return (((this.number == rhs.number)||((this.number!= null)&&this.number.equals(rhs.number)))&&((this.extension == rhs.extension)||((this.extension!= null)&&this.extension.equals(rhs.extension)))); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy