
com.ellucian.generated.eedm.admission_applications.v9_0.Status Maven / Gradle / Ivy
package com.ellucian.generated.eedm.admission_applications.v9_0;
import java.util.Date;
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;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"type",
"detail",
"startOn"
})
@Generated("jsonschema2pojo")
public class Status {
/**
* Type
*
* The top level category for the status of the application
*
*/
@JsonProperty("type")
@JsonPropertyDescription("The top level category for the status of the application")
private Object type;
/**
* Detail
*
* The extension of the top level type category
*
*/
@JsonProperty("detail")
@JsonPropertyDescription("The extension of the top level type category")
private Object detail;
/**
* Start On
*
* The date when the status was assigned
* (Required)
*
*/
@JsonProperty("startOn")
@JsonPropertyDescription("The date when the status was assigned")
private Date startOn;
/**
* Type
*
* The top level category for the status of the application
*
*/
@JsonProperty("type")
public Object getType() {
return type;
}
/**
* Type
*
* The top level category for the status of the application
*
*/
@JsonProperty("type")
public void setType(Object type) {
this.type = type;
}
public Status withType(Object type) {
this.type = type;
return this;
}
/**
* Detail
*
* The extension of the top level type category
*
*/
@JsonProperty("detail")
public Object getDetail() {
return detail;
}
/**
* Detail
*
* The extension of the top level type category
*
*/
@JsonProperty("detail")
public void setDetail(Object detail) {
this.detail = detail;
}
public Status withDetail(Object detail) {
this.detail = detail;
return this;
}
/**
* Start On
*
* The date when the status was assigned
* (Required)
*
*/
@JsonProperty("startOn")
public Date getStartOn() {
return startOn;
}
/**
* Start On
*
* The date when the status was assigned
* (Required)
*
*/
@JsonProperty("startOn")
public void setStartOn(Date startOn) {
this.startOn = startOn;
}
public Status withStartOn(Date startOn) {
this.startOn = startOn;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(Status.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("type");
sb.append('=');
sb.append(((this.type == null)?"":this.type));
sb.append(',');
sb.append("detail");
sb.append('=');
sb.append(((this.detail == null)?"":this.detail));
sb.append(',');
sb.append("startOn");
sb.append('=');
sb.append(((this.startOn == null)?"":this.startOn));
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.startOn == null)? 0 :this.startOn.hashCode()));
result = ((result* 31)+((this.detail == null)? 0 :this.detail.hashCode()));
result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof Status) == false) {
return false;
}
Status rhs = ((Status) other);
return ((((this.startOn == rhs.startOn)||((this.startOn!= null)&&this.startOn.equals(rhs.startOn)))&&((this.detail == rhs.detail)||((this.detail!= null)&&this.detail.equals(rhs.detail))))&&((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type))));
}
}