diff options
Diffstat (limited to 'dcaedt_tools/src/main/java/json/templateInfo')
-rw-r--r-- | dcaedt_tools/src/main/java/json/templateInfo/NodeToDelete.java | 30 | ||||
-rw-r--r-- | dcaedt_tools/src/main/java/json/templateInfo/TemplateInfo.java | 20 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dcaedt_tools/src/main/java/json/templateInfo/NodeToDelete.java b/dcaedt_tools/src/main/java/json/templateInfo/NodeToDelete.java new file mode 100644 index 0000000..f79be40 --- /dev/null +++ b/dcaedt_tools/src/main/java/json/templateInfo/NodeToDelete.java @@ -0,0 +1,30 @@ +package json.templateInfo; + +import com.google.gson.annotations.SerializedName; + +import javax.annotation.Generated; + +@Generated("net.hexar.json2pojo") +public class NodeToDelete { + + @SerializedName("type") + private String type; + @SerializedName("nodeName") + private String nodeName; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + public String getNodeName() { + return nodeName; + } + + public void setNodeName(String nodeName) { + this.nodeName = nodeName; + } +} diff --git a/dcaedt_tools/src/main/java/json/templateInfo/TemplateInfo.java b/dcaedt_tools/src/main/java/json/templateInfo/TemplateInfo.java index c34aaef..c7e69db 100644 --- a/dcaedt_tools/src/main/java/json/templateInfo/TemplateInfo.java +++ b/dcaedt_tools/src/main/java/json/templateInfo/TemplateInfo.java @@ -17,8 +17,12 @@ public class TemplateInfo { private String Description; @SerializedName("name") private String Name; + @SerializedName("flowType") + private String FlowType; @SerializedName("relations") private List<Relation> Relations; + @SerializedName("nodesToDelete") + private List<NodeToDelete> NodesToDelete; @SerializedName("subCategory") private String SubCategory; @SerializedName("updateIfExist") @@ -56,6 +60,22 @@ public class TemplateInfo { Name = name; } + public String getFlowType() { + return FlowType; + } + + public void setFlowType(String flowType) { + FlowType = flowType; + } + + public List<NodeToDelete> getNodesToDelete() { + return NodesToDelete; + } + + public void setNodesToDelete(List<NodeToDelete> nodesToDelete) { + NodesToDelete = nodesToDelete; + } + public List<Relation> getRelations() { return Relations; } |