edu.ksu.canvas.errors.UserErrorResponse 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.errors;
import java.util.List;
import java.util.Map;
/**
* The error object that is returned when the creation of a user fails because the data isn't good.
* This allows you to retrieve more information about what was wrong with your request.
*/
public class UserErrorResponse {
private Errors errors;
public Errors getErrors() {
return errors;
}
public void setErrors(Errors errors) {
this.errors = errors;
}
public static class Errors {
private Map> user;
private Map> pseudonym;
public Map> getUser() {
return user;
}
public void setUser(Map> user) {
this.user = user;
}
public Map> getPseudonym() {
return pseudonym;
}
public void setPseudonym(Map> pseudonym) {
this.pseudonym = pseudonym;
}
}
}