/*****************************************************************************
 ** Copyright (c) 2010 - 2012 Ushahidi Inc
 ** All rights reserved
 ** Contact: team@ushahidi.com
 ** Website: http://www.ushahidi.com
 **
 ** GNU Lesser General Public License Usage
 ** This file may be used under the terms of the GNU Lesser
 ** General Public License version 3 as published by the Free Software
 ** Foundation and appearing in the file LICENSE.LGPL included in the
 ** packaging of this file. Please review the following information to
 ** ensure the GNU Lesser General Public License version 3 requirements
 ** will be met: http://www.gnu.org/licenses/lgpl.html.
 **
 **
 ** If you have questions regarding the use of this file, please contact
 ** Ushahidi developers at team@ushahidi.com.
 **
 *****************************************************************************/

package com.crowdmap.java.sdk.json;

/**
 * The class represents the Main response returned as a result of a Crowdmap api
 * call.
 * 
 * 
 */
public class ResponseJson {

	public String next;

	public String curr;

	public String prev;

	public boolean success;

	public String error;

	public int status;

	public String timestamp;

	public int qcount;

}

@@ -1040,22 +1040,44 @@
 son %7B%0A%0A%09
-public
+/**%0A%09 * The %0A%09 */%0A%09protected
  String 
@@ -1081,29 +1081,32 @@
 ng next;%0A%0A%09p
-ublic
+rotected
  String curr
@@ -1106,29 +1106,32 @@
 ng curr;%0A%0A%09p
-ublic
+rotected
  String prev
@@ -1135,21 +1135,24 @@
 rev;%0A%0A%09p
-ublic
+rotected
  boolean
@@ -1167,85 +1167,317 @@
 ;%0A%0A%09
-public String error;%0A%0A%09public int status;%0A%0A%09public String timestamp;%0A%0A%09public
+/**%0A%09 * The error message returned as a result of an API call%0A%09 */%0A%09protected String error;%0A%0A%09/**%0A%09 * The status of the response%0A%09 */%0A%09protected int status;%0A%0A%09/**%0A%09 * The timestamp received from the server as a result of an API call%0A%09 */%0A%09protected String timestamp;%0A%0A%09/**%0A%09 * The query count.%0A%09 */%0A%09protected
  int

Refactor response json