// Path: src/main/java/com/gengo/client/enums/Tier.java
// public enum Tier
// {
// 	MACHINE,
// 	STANDARD,
// 	PRO,
// 	ULTRA;
// 	
// 	public String toRequestString()
// 	{
// 	    return super.toString().toLowerCase();
// 	}
// 	
// 	public String toString()
// 	{
// 	    return toRequestString();
// 	}
// 	
// };
// 
// 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 org.json.JSONException;
import org.json.JSONObject;
import com.gengo.client.enums.Tier;
import com.gengo.client.exceptions.GengoException;
package com.gengo.client.payloads;



/**
 * Job revision payload
 */
public class Revision extends JobUpdate
{
    private String comment;
    
    public Revision(int jobId, String comment)
    {
        super(jobId);
        init(comment);        
    }
    
    public Revision(String lc_src, String lc_tgt, String body_src, Tier tier, String comment)
    {
        super(lc_src, lc_tgt, body_src, tier);
        init(comment);
    }

    private void init(String comment)
    {
        this.comment = comment;
    }
    
    /**
     * Create a JSONObject representing this rejection
     * @return the JSONObject created
     * @throws GengoException
     */
// Path: src/main/java/com/gengo/client/enums/Tier.java
// public enum Tier
// {
// 	MACHINE,
// 	STANDARD,
// 	PRO,
// 	ULTRA;
// 	
// 	public String toRequestString()
// 	{
// 	    return super.toString().toLowerCase();
// 	}
// 	
// 	public String toString()
// 	{
// 	    return toRequestString();
// 	}
// 	
// };
// 
// 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/Revision.java
import org.json.JSONException;
import org.json.JSONObject;
import com.gengo.client.enums.Tier;
import com.gengo.client.exceptions.GengoException;

package com.gengo.client.payloads;



/**
 * Job revision payload
 */
public class Revision extends JobUpdate
{
    private String comment;
    
    public Revision(int jobId, String comment)
    {
        super(jobId);
        init(comment);        
    }
    
    public Revision(String lc_src, String lc_tgt, String body_src, Tier tier, String comment)
    {
        super(lc_src, lc_tgt, body_src, tier);
        init(comment);
    }

    private void init(String comment)
    {
        this.comment = comment;
    }
    
    /**
     * Create a JSONObject representing this rejection
     * @return the JSONObject created
     * @throws GengoException
     */
    public JSONObject toJSONObject() throws GengoException