edu.ksu.canvas.model.wrapper.QuizSubmissionWrapper 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
The newest version!
package edu.ksu.canvas.model.wrapper;
import java.util.ArrayList;
import java.util.List;
import edu.ksu.canvas.model.User;
import edu.ksu.canvas.model.assignment.Quiz;
import edu.ksu.canvas.model.assignment.QuizSubmission;
/**
* Wrapper class made necessary because canvas returns an object that
* contains a list of QuizSubmission objects, with supplemental objects
*/
public class QuizSubmissionWrapper {
private List quizSubmissions = new ArrayList<>();
private List users = new ArrayList<>();
private List quizzes = new ArrayList<>();
public List getQuizSubmissions() {
return quizSubmissions;
}
public void setQuizSubmissions(final List quizSubmissions) {
this.quizSubmissions = quizSubmissions;
}
public List getUsers() {
return users;
}
public void setUsers(final List users) {
this.users = users;
}
public List getQuizzes() {
return quizzes;
}
public void setQuizzes(List quizzes) {
this.quizzes = quizzes;
}
}