blob: 39c77b2c8e73e0afc370089e7d7e83c7f868e6c0 [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;
}
}