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

edu.ksu.canvas.errors.UserErrorResponse Maven / Gradle / Ivy

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;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy