// Path: src/main/java/com/gengo/client/exceptions/GengoException.java
// @SuppressWarnings("serial")
// /**
//  * Encapsulates all exceptions thrown by the API 
//  */
// public class GengoException extends Exception
// {
// 	public GengoException(String e)
// 	{
// 		super(e);
// 	}
// 	
// 	public GengoException(String msg, Throwable cause)
// 	{
// 		super(msg, cause);
// 	}
// 	
// }


import java.util.List;
import org.json.JSONArray;
import com.gengo.client.exceptions.GengoException;
package com.gengo.client.payloads;




/**
 * A collection of payload objects.
 */
public class Payloads
{
	private JSONArray arr;
	
	/**
	 * Initialize an empty collection.
	 */
	public Payloads()
	{
		arr = new JSONArray();
	}
	
	/**
	 * Initialize a collection of payloads from a List collection
	 * @param payloads
	 * @throws GengoException
	 */
// Path: src/main/java/com/gengo/client/exceptions/GengoException.java
// @SuppressWarnings("serial")
// /**
//  * Encapsulates all exceptions thrown by the API 
//  */
// public class GengoException extends Exception
// {
// 	public GengoException(String e)
// 	{
// 		super(e);
// 	}
// 	
// 	public GengoException(String msg, Throwable cause)
// 	{
// 		super(msg, cause);
// 	}
// 	
// }


// Path: src/main/java/com/gengo/client/payloads/Payloads.java
import java.util.List;
import org.json.JSONArray;
import com.gengo.client.exceptions.GengoException;

package com.gengo.client.payloads;




/**
 * A collection of payload objects.
 */
public class Payloads
{
	private JSONArray arr;
	
	/**
	 * Initialize an empty collection.
	 */
	public Payloads()
	{
		arr = new JSONArray();
	}
	
	/**
	 * Initialize a collection of payloads from a List collection
	 * @param payloads
	 * @throws GengoException
	 */
	public Payloads(List<Payload> payloads) throws GengoException