
com.ellucian.generated.eedm.sections_maximum.v11_0.InstructionalEvent Maven / Gradle / Ivy
package com.ellucian.generated.eedm.sections_maximum.v11_0;
import java.util.ArrayList;
import java.util.List;
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({
"title",
"instructionalMethod",
"recurrence",
"workLoad",
"locations",
"instructorRoster",
"detail"
})
@Generated("jsonschema2pojo")
public class InstructionalEvent {
/**
* Title
*
* The full name of an instructional activity that takes place during a Section.
*
*/
@JsonProperty("title")
@JsonPropertyDescription("The full name of an instructional activity that takes place during a Section.")
private String title;
/**
* Instructional Method
*
*
* (Required)
*
*/
@JsonProperty("instructionalMethod")
@JsonPropertyDescription("")
private InstructionalMethod instructionalMethod;
/**
* Recurrence
*
*
*
*/
@JsonProperty("recurrence")
@JsonPropertyDescription("")
private Object recurrence;
/**
* Work Load
*
* The amount of work involved in teaching a section.
*
*/
@JsonProperty("workLoad")
@JsonPropertyDescription("The amount of work involved in teaching a section.")
private Object workLoad;
/**
* Location
*
* Locations where the instructional event will take place.
*
*/
@JsonProperty("locations")
@JsonPropertyDescription("Locations where the instructional event will take place.")
private List locations = new ArrayList();
/**
* Instructor Roster
*
*
*
*/
@JsonProperty("instructorRoster")
@JsonPropertyDescription("")
private List instructorRoster = new ArrayList();
/**
* Instructional Event
*
* The instructional event associated to this section.
* (Required)
*
*/
@JsonProperty("detail")
@JsonPropertyDescription("The instructional event associated to this section.")
private Detail__8 detail;
/**
* Title
*
* The full name of an instructional activity that takes place during a Section.
*
*/
@JsonProperty("title")
public String getTitle() {
return title;
}
/**
* Title
*
* The full name of an instructional activity that takes place during a Section.
*
*/
@JsonProperty("title")
public void setTitle(String title) {
this.title = title;
}
public InstructionalEvent withTitle(String title) {
this.title = title;
return this;
}
/**
* Instructional Method
*
*
* (Required)
*
*/
@JsonProperty("instructionalMethod")
public InstructionalMethod getInstructionalMethod() {
return instructionalMethod;
}
/**
* Instructional Method
*
*
* (Required)
*
*/
@JsonProperty("instructionalMethod")
public void setInstructionalMethod(InstructionalMethod instructionalMethod) {
this.instructionalMethod = instructionalMethod;
}
public InstructionalEvent withInstructionalMethod(InstructionalMethod instructionalMethod) {
this.instructionalMethod = instructionalMethod;
return this;
}
/**
* Recurrence
*
*
*
*/
@JsonProperty("recurrence")
public Object getRecurrence() {
return recurrence;
}
/**
* Recurrence
*
*
*
*/
@JsonProperty("recurrence")
public void setRecurrence(Object recurrence) {
this.recurrence = recurrence;
}
public InstructionalEvent withRecurrence(Object recurrence) {
this.recurrence = recurrence;
return this;
}
/**
* Work Load
*
* The amount of work involved in teaching a section.
*
*/
@JsonProperty("workLoad")
public Object getWorkLoad() {
return workLoad;
}
/**
* Work Load
*
* The amount of work involved in teaching a section.
*
*/
@JsonProperty("workLoad")
public void setWorkLoad(Object workLoad) {
this.workLoad = workLoad;
}
public InstructionalEvent withWorkLoad(Object workLoad) {
this.workLoad = workLoad;
return this;
}
/**
* Location
*
* Locations where the instructional event will take place.
*
*/
@JsonProperty("locations")
public List getLocations() {
return locations;
}
/**
* Location
*
* Locations where the instructional event will take place.
*
*/
@JsonProperty("locations")
public void setLocations(List locations) {
this.locations = locations;
}
public InstructionalEvent withLocations(List locations) {
this.locations = locations;
return this;
}
/**
* Instructor Roster
*
*
*
*/
@JsonProperty("instructorRoster")
public List getInstructorRoster() {
return instructorRoster;
}
/**
* Instructor Roster
*
*
*
*/
@JsonProperty("instructorRoster")
public void setInstructorRoster(List instructorRoster) {
this.instructorRoster = instructorRoster;
}
public InstructionalEvent withInstructorRoster(List instructorRoster) {
this.instructorRoster = instructorRoster;
return this;
}
/**
* Instructional Event
*
* The instructional event associated to this section.
* (Required)
*
*/
@JsonProperty("detail")
public Detail__8 getDetail() {
return detail;
}
/**
* Instructional Event
*
* The instructional event associated to this section.
* (Required)
*
*/
@JsonProperty("detail")
public void setDetail(Detail__8 detail) {
this.detail = detail;
}
public InstructionalEvent withDetail(Detail__8 detail) {
this.detail = detail;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(InstructionalEvent.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("title");
sb.append('=');
sb.append(((this.title == null)?"":this.title));
sb.append(',');
sb.append("instructionalMethod");
sb.append('=');
sb.append(((this.instructionalMethod == null)?"":this.instructionalMethod));
sb.append(',');
sb.append("recurrence");
sb.append('=');
sb.append(((this.recurrence == null)?"":this.recurrence));
sb.append(',');
sb.append("workLoad");
sb.append('=');
sb.append(((this.workLoad == null)?"":this.workLoad));
sb.append(',');
sb.append("locations");
sb.append('=');
sb.append(((this.locations == null)?"":this.locations));
sb.append(',');
sb.append("instructorRoster");
sb.append('=');
sb.append(((this.instructorRoster == null)?"":this.instructorRoster));
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.recurrence == null)? 0 :this.recurrence.hashCode()));
result = ((result* 31)+((this.workLoad == null)? 0 :this.workLoad.hashCode()));
result = ((result* 31)+((this.instructorRoster == null)? 0 :this.instructorRoster.hashCode()));
result = ((result* 31)+((this.instructionalMethod == null)? 0 :this.instructionalMethod.hashCode()));
result = ((result* 31)+((this.locations == null)? 0 :this.locations.hashCode()));
result = ((result* 31)+((this.detail == null)? 0 :this.detail.hashCode()));
result = ((result* 31)+((this.title == null)? 0 :this.title.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof InstructionalEvent) == false) {
return false;
}
InstructionalEvent rhs = ((InstructionalEvent) other);
return ((((((((this.recurrence == rhs.recurrence)||((this.recurrence!= null)&&this.recurrence.equals(rhs.recurrence)))&&((this.workLoad == rhs.workLoad)||((this.workLoad!= null)&&this.workLoad.equals(rhs.workLoad))))&&((this.instructorRoster == rhs.instructorRoster)||((this.instructorRoster!= null)&&this.instructorRoster.equals(rhs.instructorRoster))))&&((this.instructionalMethod == rhs.instructionalMethod)||((this.instructionalMethod!= null)&&this.instructionalMethod.equals(rhs.instructionalMethod))))&&((this.locations == rhs.locations)||((this.locations!= null)&&this.locations.equals(rhs.locations))))&&((this.detail == rhs.detail)||((this.detail!= null)&&this.detail.equals(rhs.detail))))&&((this.title == rhs.title)||((this.title!= null)&&this.title.equals(rhs.title))));
}
}