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

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.3
 * @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