
com.jelastic.api.ResponseInterface Maven / Gradle / Ivy
package com.jelastic.api;
import com.jelastic.api.json.JSONDeserializable;
import com.jelastic.api.json.JSONSerializable;
import org.json.JSONObject;
/**
*
* @author Ruslan
*/
public interface ResponseInterface extends JSONDeserializable, JSONSerializable {
Object fromJSON(JSONObject json);
Object fromString(String str);
String getError();
String getSource();
int getResult();
void setError(String error);
void setResult(int result);
void setSource(String source);
JSONObject toJSON();
String toString();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy