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

com.ellucian.generated.eedm.admission_applications.v6_0.Status Maven / Gradle / Ivy


package com.ellucian.generated.eedm.admission_applications.v6_0;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import javax.annotation.processing.Generated;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonValue;

@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 * (Required) * */ @JsonProperty("type") @JsonPropertyDescription("The top level category for the status of the application") private Status.Type 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 * (Required) * */ @JsonProperty("type") public Status.Type getType() { return type; } /** * Type *

* The top level category for the status of the application * (Required) * */ @JsonProperty("type") public void setType(Status.Type type) { this.type = type; } public Status withType(Status.Type 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)))); } /** * Type *

* The top level category for the status of the application * */ @Generated("jsonschema2pojo") public enum Type { STARTED("started"), SUBMITTED("submitted"), READY_FOR_REVIEW("readyForReview"), DECISION_MADE("decisionMade"), ENROLLMENT_COMPLETED("enrollmentCompleted"); private final String value; private final static Map CONSTANTS = new HashMap(); static { for (Status.Type c: values()) { CONSTANTS.put(c.value, c); } } Type(String value) { this.value = value; } @Override public String toString() { return this.value; } @JsonValue public String value() { return this.value; } @JsonCreator public static Status.Type fromValue(String value) { Status.Type constant = CONSTANTS.get(value); if (constant == null) { throw new IllegalArgumentException(value); } else { return constant; } } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy