All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.ksu.canvas.interfaces.QuizWriter Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
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 - 2024 Weber Informatics LLC | Privacy Policy