Back to project page Android-API.
The source code is released under:
Apache License
If you think the Android project Android-API listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.clearblade.platform.api; // w w w .j a v a 2 s . c o m import com.clearblade.platform.api.internal.RequestEngine; import com.google.gson.JsonArray; public class QueryResponse { //data pulled from server response private int CURRENTPAGE; private String NEXTPAGEURL; private String PREVPAGEURL; private int TOTAL; private JsonArray DATA; //we will convert the JsonArray into an array of items private Item[] dataItems; public QueryResponse() { } public int getCurrentPage() { return CURRENTPAGE; } public String getNextPageURL() { return NEXTPAGEURL; } public String getPrevPageURL() { return PREVPAGEURL; } public int getTotalCount() { return TOTAL; } public Item[] getDataItems() { return dataItems; } public void setDataItems(Item[] items) { dataItems = items; } public String getDataJsonAsString() { return DATA.toString(); } }