
io.prediction.APIResponse Maven / Gradle / Ivy
package io.prediction;
/**
* API Response class for wrapping responses.
*
* @author The PredictionIO Team (http://prediction.io)
* @version 0.8.2
* @since 0.2
*/
public class APIResponse {
private int status;
private String message;
public APIResponse(int status, String message) {
this.status = status;
this.message = message;
}
public int getStatus() {
return this.status;
}
public void setStatus(int status) {
this.status = status;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy