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

com.ellucian.generated.eedm.institution_positions.v11_0.Department Maven / Gradle / Ivy


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

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
    "name",
    "detail"
})
@Generated("jsonschema2pojo")
public class Department {

    /**
     * Name
     * 

* The name of the department to which the position belongs. * (Required) * */ @JsonProperty("name") @JsonPropertyDescription("The name of the department to which the position belongs.") private String name; /** * Detail *

* The educational institutional unit associated with the position. * */ @JsonProperty("detail") @JsonPropertyDescription("The educational institutional unit associated with the position.") private Object detail; /** * Name *

* The name of the department to which the position belongs. * (Required) * */ @JsonProperty("name") public String getName() { return name; } /** * Name *

* The name of the department to which the position belongs. * (Required) * */ @JsonProperty("name") public void setName(String name) { this.name = name; } public Department withName(String name) { this.name = name; return this; } /** * Detail *

* The educational institutional unit associated with the position. * */ @JsonProperty("detail") public Object getDetail() { return detail; } /** * Detail *

* The educational institutional unit associated with the position. * */ @JsonProperty("detail") public void setDetail(Object detail) { this.detail = detail; } public Department withDetail(Object detail) { this.detail = detail; return this; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(Department.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("detail"); sb.append('='); sb.append(((this.detail == null)?"":this.detail)); 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.detail == null)? 0 :this.detail.hashCode())); return result; } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof Department) == false) { return false; } Department rhs = ((Department) other); return (((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name)))&&((this.detail == rhs.detail)||((this.detail!= null)&&this.detail.equals(rhs.detail)))); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy