edu.ksu.canvas.model.assignment.QuizSubmissionQuestion 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.assignment;
import java.io.Serializable;
/**
* Class to represent Canvas quiz submission question.
* See Canvas Quiz Submission Question documentation.
*/
import java.util.List;
public class QuizSubmissionQuestion implements Serializable {
private static final long serialVersionUID = 1L;
private Long id;
private Boolean flagged;
private List answer; //Set to JSON object, because it can either be an array or a String.
private List answers;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Boolean getFlagged() {
return flagged;
}
public void setFlagged(Boolean flagged) {
this.flagged = flagged;
}
public List getAnswer() {
return answer;
}
public void setAnswer(List answer) {
this.answer = answer;
}
public List getAnswers() {
return answers;
}
public void setAnswers(List answers) {
this.answers = answers;
}
}