blob: 42c6d57254e9ed5beda4d52e8d7cbd401f2c3b40 [file]
package io.prediction;
/**
* API Response class for wrapping responses
*
* @author The PredictionIO Team (<a href="http://prediction.io">http://prediction.io</a>)
* @version 0.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;
}
}