edu.ksu.canvas.interfaces.FeatureFlagWriter 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.interfaces;
import edu.ksu.canvas.model.FeatureFlag;
import java.io.IOException;
import java.util.Optional;
public interface FeatureFlagWriter extends CanvasWriter {
Optional updateCourseFeatureFlag(String courseId, String feature, FeatureFlag.State state) throws IOException;
Optional updateAccountFeatureFlag(String accountId, String feature, FeatureFlag.State state) throws IOException;
Optional updateUserFeatureFlag(String userId, String feature, FeatureFlag.State state) throws IOException;
}