You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
679 B
Java
37 lines
679 B
Java
package eu.openaire.urls_controller.models;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
|
public class Error {
|
|
|
|
@JsonProperty("type")
|
|
String type;
|
|
|
|
@JsonProperty("message")
|
|
String message;
|
|
|
|
public String getType() {
|
|
return type;
|
|
}
|
|
|
|
public void setType(String type) {
|
|
type = type;
|
|
}
|
|
|
|
public String getMessage() {
|
|
return message;
|
|
}
|
|
|
|
public void setMessage(String message) {
|
|
this.message = message;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "Error{" +
|
|
"type='" + type + '\'' +
|
|
", message='" + message + '\'' +
|
|
'}';
|
|
}
|
|
}
|