net.pushover.client.Status Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pushover-client Show documentation
Show all versions of pushover-client Show documentation
A fork of the standard pushover client for java containing up to date features
package net.pushover.client;
/**
* API response object
*/
public class Status {
private final Integer status;
private String request;
public Status(Integer status) {
this.status = status;
}
public int getStatus() {
return status;
}
public String getRequestId() {
return request;
}
public void setRequestId(String requestId) {
this.request = requestId;
}
@Override
public String toString() {
return String.format("status: %s, requestId: %s", status != null ? String.valueOf(status) : "??", request);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy