com.zipwhip.api.response.ServerResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zipwhip-api Show documentation
Show all versions of zipwhip-api Show documentation
Java client to support applications powered by the Zipwhip Cloud
The newest version!
package com.zipwhip.api.response;
import com.zipwhip.api.signals.Signal;
import java.util.List;
import java.util.Map;
/**
* Represents a ServerResponse that might be in some unknown format. We don't know if it's JSON or XML or binary encoded.
*/
public abstract class ServerResponse {
private boolean success;
private Map>> sessions;
private String raw;
public ServerResponse(String raw, boolean success, Map>> sessions) {
this.raw = raw;
this.success = success;
this.sessions = sessions;
}
public boolean isSuccess() {
return success;
}
public void setSuccess(boolean success) {
this.success = success;
}
public Map>> getSessions() {
return sessions;
}
public void setSessions(Map>> sessions) {
this.sessions = sessions;
}
public String getRaw() {
return raw;
}
public void setRaw(String raw) {
this.raw = raw;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy