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

io.swagger.inflector.validators.ValidationMessage Maven / Gradle / Ivy

There is a newer version: 2.0.12
Show newest version
package io.swagger.inflector.validators;

public class ValidationMessage {
    private ValidationError code;
    private String message;

    public ValidationMessage code(ValidationError code) {
        this.code = code;
        return this;
    }
    public ValidationMessage message(String message) {
        this.message = message;
        return this;
    }

    public ValidationError getCode() {
        return code;
    }
    public void setCode(ValidationError code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }
    public void setMessage(String message) {
        this.message = message;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy