
com.ellucian.generated.eedm.instructional_events.v8_0.InstructionalEvents Maven / Gradle / Ivy
package com.ellucian.generated.eedm.instructional_events.v8_0;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.processing.Generated;
import com.ellucian.generated.eedm.academic_catalogs.v6_0.Metadata;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* Instructional Events
*
* An instructional activity that takes place during a section.
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"metadata",
"id",
"title",
"description",
"section",
"instructionalMethod",
"workLoad",
"recurrence",
"locations",
"instructorRoster",
"approvals"
})
@Generated("jsonschema2pojo")
public class InstructionalEvents {
/**
* Metadata
*
* Metadata about the JSON payload
*
*/
@JsonProperty("metadata")
@JsonPropertyDescription("Metadata about the JSON payload")
private Metadata metadata;
/**
* ID
*
* A globally unique identifier of an instructional activity to be used in all external references.
* (Required)
*
*/
@JsonProperty("id")
@JsonPropertyDescription("A globally unique identifier of an instructional activity to be used in all external references.")
private String id;
/**
* Title
*
* The full name of an instructional activity.
*
*/
@JsonProperty("title")
@JsonPropertyDescription("The full name of an instructional activity.")
private String title;
/**
* Description
*
* A description of an instructional activity.
*
*/
@JsonProperty("description")
@JsonPropertyDescription("A description of an instructional activity.")
private String description;
/**
* Section
*
* An instance of a course.
* (Required)
*
*/
@JsonProperty("section")
@JsonPropertyDescription("An instance of a course.")
private Section section;
/**
* Instructional Method
*
* The method, style, or format of instruction associated with the instructor's involvement with the section (for example, 'Lecture', 'Lab').
* (Required)
*
*/
@JsonProperty("instructionalMethod")
@JsonPropertyDescription("The method, style, or format of instruction associated with the instructor's involvement with the section (for example, 'Lecture', 'Lab').")
private InstructionalMethod instructionalMethod;
/**
* Work Load
*
* The total amount of work associated with the instructional event.
*
*/
@JsonProperty("workLoad")
@JsonPropertyDescription("The total amount of work associated with the instructional event.")
private Object workLoad;
/**
* Recurrence
*
* The recurring meeting time pattern associated with the instructional event.
*
*/
@JsonProperty("recurrence")
@JsonPropertyDescription("The recurring meeting time pattern associated with the instructional event.")
private Object recurrence;
/**
* Locations
*
* The locations where the instructional event will take place.
*
*/
@JsonProperty("locations")
@JsonPropertyDescription("The locations where the instructional event will take place.")
private List locations = new ArrayList();
/**
* Instructor Roster
*
* The roster of instructors assigned to teach an instructional event.
*
*/
@JsonProperty("instructorRoster")
@JsonPropertyDescription("The roster of instructors assigned to teach an instructional event.")
private List instructorRoster = new ArrayList();
/**
* Approvals
*
* The type and source of approvals applied to the instructional event.
*
*/
@JsonProperty("approvals")
@JsonPropertyDescription("The type and source of approvals applied to the instructional event.")
private List approvals = new ArrayList();
/**
* Metadata
*
* Metadata about the JSON payload
*
*/
@JsonProperty("metadata")
public Metadata getMetadata() {
return metadata;
}
/**
* Metadata
*
* Metadata about the JSON payload
*
*/
@JsonProperty("metadata")
public void setMetadata(Metadata metadata) {
this.metadata = metadata;
}
public InstructionalEvents withMetadata(Metadata metadata) {
this.metadata = metadata;
return this;
}
/**
* ID
*
* A globally unique identifier of an instructional activity to be used in all external references.
* (Required)
*
*/
@JsonProperty("id")
public String getId() {
return id;
}
/**
* ID
*
* A globally unique identifier of an instructional activity to be used in all external references.
* (Required)
*
*/
@JsonProperty("id")
public void setId(String id) {
this.id = id;
}
public InstructionalEvents withId(String id) {
this.id = id;
return this;
}
/**
* Title
*
* The full name of an instructional activity.
*
*/
@JsonProperty("title")
public String getTitle() {
return title;
}
/**
* Title
*
* The full name of an instructional activity.
*
*/
@JsonProperty("title")
public void setTitle(String title) {
this.title = title;
}
public InstructionalEvents withTitle(String title) {
this.title = title;
return this;
}
/**
* Description
*
* A description of an instructional activity.
*
*/
@JsonProperty("description")
public String getDescription() {
return description;
}
/**
* Description
*
* A description of an instructional activity.
*
*/
@JsonProperty("description")
public void setDescription(String description) {
this.description = description;
}
public InstructionalEvents withDescription(String description) {
this.description = description;
return this;
}
/**
* Section
*
* An instance of a course.
* (Required)
*
*/
@JsonProperty("section")
public Section getSection() {
return section;
}
/**
* Section
*
* An instance of a course.
* (Required)
*
*/
@JsonProperty("section")
public void setSection(Section section) {
this.section = section;
}
public InstructionalEvents withSection(Section section) {
this.section = section;
return this;
}
/**
* Instructional Method
*
* The method, style, or format of instruction associated with the instructor's involvement with the section (for example, 'Lecture', 'Lab').
* (Required)
*
*/
@JsonProperty("instructionalMethod")
public InstructionalMethod getInstructionalMethod() {
return instructionalMethod;
}
/**
* Instructional Method
*
* The method, style, or format of instruction associated with the instructor's involvement with the section (for example, 'Lecture', 'Lab').
* (Required)
*
*/
@JsonProperty("instructionalMethod")
public void setInstructionalMethod(InstructionalMethod instructionalMethod) {
this.instructionalMethod = instructionalMethod;
}
public InstructionalEvents withInstructionalMethod(InstructionalMethod instructionalMethod) {
this.instructionalMethod = instructionalMethod;
return this;
}
/**
* Work Load
*
* The total amount of work associated with the instructional event.
*
*/
@JsonProperty("workLoad")
public Object getWorkLoad() {
return workLoad;
}
/**
* Work Load
*
* The total amount of work associated with the instructional event.
*
*/
@JsonProperty("workLoad")
public void setWorkLoad(Object workLoad) {
this.workLoad = workLoad;
}
public InstructionalEvents withWorkLoad(Object workLoad) {
this.workLoad = workLoad;
return this;
}
/**
* Recurrence
*
* The recurring meeting time pattern associated with the instructional event.
*
*/
@JsonProperty("recurrence")
public Object getRecurrence() {
return recurrence;
}
/**
* Recurrence
*
* The recurring meeting time pattern associated with the instructional event.
*
*/
@JsonProperty("recurrence")
public void setRecurrence(Object recurrence) {
this.recurrence = recurrence;
}
public InstructionalEvents withRecurrence(Object recurrence) {
this.recurrence = recurrence;
return this;
}
/**
* Locations
*
* The locations where the instructional event will take place.
*
*/
@JsonProperty("locations")
public List getLocations() {
return locations;
}
/**
* Locations
*
* The locations where the instructional event will take place.
*
*/
@JsonProperty("locations")
public void setLocations(List locations) {
this.locations = locations;
}
public InstructionalEvents withLocations(List locations) {
this.locations = locations;
return this;
}
/**
* Instructor Roster
*
* The roster of instructors assigned to teach an instructional event.
*
*/
@JsonProperty("instructorRoster")
public List getInstructorRoster() {
return instructorRoster;
}
/**
* Instructor Roster
*
* The roster of instructors assigned to teach an instructional event.
*
*/
@JsonProperty("instructorRoster")
public void setInstructorRoster(List instructorRoster) {
this.instructorRoster = instructorRoster;
}
public InstructionalEvents withInstructorRoster(List instructorRoster) {
this.instructorRoster = instructorRoster;
return this;
}
/**
* Approvals
*
* The type and source of approvals applied to the instructional event.
*
*/
@JsonProperty("approvals")
public List getApprovals() {
return approvals;
}
/**
* Approvals
*
* The type and source of approvals applied to the instructional event.
*
*/
@JsonProperty("approvals")
public void setApprovals(List approvals) {
this.approvals = approvals;
}
public InstructionalEvents withApprovals(List approvals) {
this.approvals = approvals;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(InstructionalEvents.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("metadata");
sb.append('=');
sb.append(((this.metadata == null)?"":this.metadata));
sb.append(',');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"":this.id));
sb.append(',');
sb.append("title");
sb.append('=');
sb.append(((this.title == null)?"":this.title));
sb.append(',');
sb.append("description");
sb.append('=');
sb.append(((this.description == null)?"":this.description));
sb.append(',');
sb.append("section");
sb.append('=');
sb.append(((this.section == null)?"":this.section));
sb.append(',');
sb.append("instructionalMethod");
sb.append('=');
sb.append(((this.instructionalMethod == null)?"":this.instructionalMethod));
sb.append(',');
sb.append("workLoad");
sb.append('=');
sb.append(((this.workLoad == null)?"":this.workLoad));
sb.append(',');
sb.append("recurrence");
sb.append('=');
sb.append(((this.recurrence == null)?"":this.recurrence));
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("approvals");
sb.append('=');
sb.append(((this.approvals == null)?"":this.approvals));
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.metadata == null)? 0 :this.metadata.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.approvals == null)? 0 :this.approvals.hashCode()));
result = ((result* 31)+((this.description == null)? 0 :this.description.hashCode()));
result = ((result* 31)+((this.section == null)? 0 :this.section.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.id == null)? 0 :this.id.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 InstructionalEvents) == false) {
return false;
}
InstructionalEvents rhs = ((InstructionalEvents) other);
return ((((((((((((this.recurrence == rhs.recurrence)||((this.recurrence!= null)&&this.recurrence.equals(rhs.recurrence)))&&((this.metadata == rhs.metadata)||((this.metadata!= null)&&this.metadata.equals(rhs.metadata))))&&((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.approvals == rhs.approvals)||((this.approvals!= null)&&this.approvals.equals(rhs.approvals))))&&((this.description == rhs.description)||((this.description!= null)&&this.description.equals(rhs.description))))&&((this.section == rhs.section)||((this.section!= null)&&this.section.equals(rhs.section))))&&((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.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.title == rhs.title)||((this.title!= null)&&this.title.equals(rhs.title))));
}
}