edu.ksu.canvas.model.wrapper.EnrollmentTermWrapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of canvas-api Show documentation
Show all versions of canvas-api Show documentation
A native Java library to talk to the Canvas REST API
package edu.ksu.canvas.model.wrapper;
import java.util.List;
import edu.ksu.canvas.model.EnrollmentTerm;
/**
* Wrapper class made necessary because canvas returns an object that
* contains a list of EnrollmentTerm Objects, with only one item in the list.
*/
public class EnrollmentTermWrapper {
private List enrollmentTerms;
public List getEnrollmentTerms() {
return enrollmentTerms;
}
public void setEnrollmentTerms(List enrollmentTerms) {
this.enrollmentTerms = enrollmentTerms;
}
}