edu.ksu.canvas.interfaces.QuizWriter Maven / Gradle / Ivy
package edu.ksu.canvas.interfaces;
import java.io.IOException;
import java.util.Optional;
import edu.ksu.canvas.model.assignment.Quiz;
public interface QuizWriter extends CanvasWriter {
/**
*
* @param quiz The quiz to update
* @param courseId The course ID in which the quiz lives
* @return The updated Quiz object
* @throws IOException When there is an error communicating with Canvas
*/
Optional updateQuiz(Quiz quiz, String courseId) throws IOException;
}