edu.ksu.canvas.model.FeatureFlag 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.model;
public class FeatureFlag {
public enum State {on, off, allowed}
private String contextType;
private Long contextId;
private String feature;
private State state;
public String getContextType() {
return contextType;
}
public void setContextType(String contextType) {
this.contextType = contextType;
}
public Long getContextId() {
return contextId;
}
public void setContextId(Long contextId) {
this.contextId = contextId;
}
public String getFeature() {
return feature;
}
public void setFeature(String feature) {
this.feature = feature;
}
public State getState() {
return state;
}
public void setState(State state) {
this.state = state;
}
public boolean isLocked() {
return locked;
}
public void setLocked(boolean locked) {
this.locked = locked;
}
private boolean locked;
}