com.pryv.api.ApiResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commons Show documentation
Show all versions of commons Show documentation
Common library shared among Java and Android.
The newest version!
package com.pryv.api;
/**
* Model a HTTP Response from Pryv API
*/
public class ApiResponse {
private String jsonBody;
private double serverTime;
private int status;
public ApiResponse (String httpResponse, double serverTime, int statusCode) {
this.jsonBody = httpResponse;
this.serverTime = serverTime;
this.status = statusCode;
}
public String getJsonBody() {
return jsonBody;
}
public double getServerTime() {
return serverTime;
}
public int getStatus() {
return status;
}
} © 2015 - 2025 Weber Informatics LLC | Privacy Policy