package io.github.ibuildthecloud.gdapi.model;

public class Action {

    String input, output;

    public Action() {
    }

    public Action(Action other) {
        this(other.getInput(), other.getOutput());
    }

    public Action(String input, String output) {
        super();
        this.input = input;
        this.output = output;
    }

    public String getInput() {
        return input;
    }

    public void setInput(String input) {
        this.input = input;
    }

    public String getOutput() {
        return output;
    }

    public void setOutput(String output) {
        this.output = output;
    }

}

@@ -44,55 +44,219 @@
 l;%0A%0A
-public class Action %7B%0A%0A    String input, output
+import java.util.HashMap;%0Aimport java.util.Map;%0A%0Aimport javax.xml.bind.annotation.XmlTransient;%0A%0Apublic class Action %7B%0A%0A    String input, output;%0A    Map%3CString,Object%3E attributes = new HashMap%3CString, Object%3E()
 ;%0A%0A 
@@ -365,16 +365,39 @@
 Output()
+, other.getAttributes()
 );%0A    %7D
@@ -439,32 +439,178 @@
 tring output) %7B%0A
+        this(input, output, new HashMap%3CString,Object%3E());%0A    %7D%0A%0A    public Action(String input, String output, Map%3CString,Object%3E attributes) %7B%0A
         super();
@@ -660,32 +660,70 @@
 utput = output;%0A
+        this.attributes = attributes;%0A
     %7D%0A%0A    publi
@@ -991,10 +991,308 @@
 %0A    %7D%0A%0A
+    @XmlTransient%0A    @io.github.ibuildthecloud.gdapi.annotation.Field(include = false)%0A    public Map%3CString, Object%3E getAttributes() %7B%0A        return attributes;%0A    %7D%0A%0A    @XmlTransient%0A    public void setAttributes(Map%3CString, Object%3E attributes) %7B%0A        this.attributes = attributes;%0A    %7D%0A%0A
 %7D%0A

Add attributes to Action object