edu.ksu.canvas.interfaces.QuizWriter 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.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;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy