
nl.pvanassen.geckoboard.api.WidgetWrapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of geckoboard-api Show documentation
Show all versions of geckoboard-api Show documentation
A Java API to generate highchart json on the server side.
The newest version!
package nl.pvanassen.geckoboard.api;
import com.google.gson.annotations.SerializedName;
/**
* Wrapper to get correct json through gson
*
* @author Paul van Assen
*/
class WidgetWrapper {
@SerializedName("data")
private final Push push;
@SerializedName("api_key")
private final String apiKey;
WidgetWrapper(Push push, String apiKey) {
this.push = push;
this.apiKey = apiKey;
}
String getApiKey() {
return apiKey;
}
Push getPush() {
return push;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy