// Path: src/protocolsupportpocketstuff/api/modals/elements/simple/ModalButton.java
// public class ModalButton extends ModalUIElement {
// 
// 	private ModalImage image;
// 
// 	/***
// 	 * Constructs a new ModalButton with text.
// 	 * @param text - The button's text.
// 	 */
// 	public ModalButton(String text) {
// 		super(text);
// 	}
// 
// 	/***
// 	 * Constructs a new ModalButton with text and image.
// 	 * @param text - The button's text.
// 	 * @param image - The button's image.
// 	 */
// 	public ModalButton(String text, ModalImage image) {
// 		super(text);
// 		this.setImage(image);
// 	}
// 
// 	/**
// 	 * Sets the image of this button.
// 	 * @param image
// 	 * @return this
// 	 */
// 	public ModalButton setImage(ModalImage image) {
// 		this.image = image;
// 		return this;
// 	}
// 
// 	/***
// 	 * Gets the image of this button.
// 	 * @return the image.
// 	 */
// 	public ModalImage getButtonImage() {
// 		return image;
// 	}
// 
// 	/***
// 	 * Sets the text of this button.
// 	 * @param text
// 	 * @return this
// 	 */
// 	public ModalButton setText(String text) {
// 		super.setText(text); 
// 		return this;
// 	}
// 
// 	/***
// 	 * Fully clones a ModalButton.
// 	 * @return a new ModalButton.
// 	 */
// 	public ModalButton clone() {
// 		ModalButton clone = new ModalButton(getText());
// 		clone.setImage(getButtonImage().clone());
// 		return clone;
// 	}
// 
// }
// 
// Path: src/protocolsupportpocketstuff/util/GsonUtils.java
// public class GsonUtils {
// 	public static final Gson GSON = new Gson();
// 	public static final JsonParser JSON_PARSER = new JsonParser();
// }


import protocolsupportpocketstuff.api.modals.elements.simple.ModalButton;
import protocolsupportpocketstuff.util.GsonUtils;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
package protocolsupportpocketstuff.api.modals;



/***
 * Implementation of SIMPLE_FORM.
 * Used to build and send SimpleForm modals.
 * A simple form has a title, some text
 * and a variable amount of buttons.
 */
public class SimpleForm implements Modal {

	private final transient ModalType modalType = ModalType.SIMPLE_FORM;
	private final String type = modalType.getPeName();

	private String title;
	private String content;
// Path: src/protocolsupportpocketstuff/api/modals/elements/simple/ModalButton.java
// public class ModalButton extends ModalUIElement {
// 
// 	private ModalImage image;
// 
// 	/***
// 	 * Constructs a new ModalButton with text.
// 	 * @param text - The button's text.
// 	 */
// 	public ModalButton(String text) {
// 		super(text);
// 	}
// 
// 	/***
// 	 * Constructs a new ModalButton with text and image.
// 	 * @param text - The button's text.
// 	 * @param image - The button's image.
// 	 */
// 	public ModalButton(String text, ModalImage image) {
// 		super(text);
// 		this.setImage(image);
// 	}
// 
// 	/**
// 	 * Sets the image of this button.
// 	 * @param image
// 	 * @return this
// 	 */
// 	public ModalButton setImage(ModalImage image) {
// 		this.image = image;
// 		return this;
// 	}
// 
// 	/***
// 	 * Gets the image of this button.
// 	 * @return the image.
// 	 */
// 	public ModalImage getButtonImage() {
// 		return image;
// 	}
// 
// 	/***
// 	 * Sets the text of this button.
// 	 * @param text
// 	 * @return this
// 	 */
// 	public ModalButton setText(String text) {
// 		super.setText(text); 
// 		return this;
// 	}
// 
// 	/***
// 	 * Fully clones a ModalButton.
// 	 * @return a new ModalButton.
// 	 */
// 	public ModalButton clone() {
// 		ModalButton clone = new ModalButton(getText());
// 		clone.setImage(getButtonImage().clone());
// 		return clone;
// 	}
// 
// }
// 
// Path: src/protocolsupportpocketstuff/util/GsonUtils.java
// public class GsonUtils {
// 	public static final Gson GSON = new Gson();
// 	public static final JsonParser JSON_PARSER = new JsonParser();
// }


// Path: src/protocolsupportpocketstuff/api/modals/SimpleForm.java
import protocolsupportpocketstuff.api.modals.elements.simple.ModalButton;
import protocolsupportpocketstuff.util.GsonUtils;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

package protocolsupportpocketstuff.api.modals;



/***
 * Implementation of SIMPLE_FORM.
 * Used to build and send SimpleForm modals.
 * A simple form has a title, some text
 * and a variable amount of buttons.
 */
public class SimpleForm implements Modal {

	private final transient ModalType modalType = ModalType.SIMPLE_FORM;
	private final String type = modalType.getPeName();

	private String title;
	private String content;
	private List<ModalButton> buttons = new ArrayList<>();