aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/de/torui/coflsky/commands
diff options
context:
space:
mode:
authorFlorian Rinke <develop@torui.de>2021-12-28 16:15:54 +0100
committerFlorian Rinke <develop@torui.de>2021-12-28 16:15:54 +0100
commit33d340a59b18361fcd18e73e34f5eced5641655f (patch)
tree30d9d8caf53cb1cdac5b1ae1a0fcc0aab2d24e3b /src/main/java/de/torui/coflsky/commands
parent4725394c6e80e857f17c512c49d9181cb7a6c553 (diff)
downloadCOFL-33d340a59b18361fcd18e73e34f5eced5641655f.tar.gz
COFL-33d340a59b18361fcd18e73e34f5eced5641655f.tar.bz2
COFL-33d340a59b18361fcd18e73e34f5eced5641655f.zip
initial fix, needs testing!
Diffstat (limited to 'src/main/java/de/torui/coflsky/commands')
-rw-r--r--src/main/java/de/torui/coflsky/commands/RawCommand.java33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/main/java/de/torui/coflsky/commands/RawCommand.java b/src/main/java/de/torui/coflsky/commands/RawCommand.java
new file mode 100644
index 0000000..f2054e8
--- /dev/null
+++ b/src/main/java/de/torui/coflsky/commands/RawCommand.java
@@ -0,0 +1,33 @@
+package de.torui.coflsky.commands;
+
+import com.google.gson.annotations.SerializedName;
+
+public class RawCommand {
+ @SerializedName("type")
+ private String Type;
+
+ @SerializedName("data")
+ private String Data;
+
+ public RawCommand(String type, String data) {
+ this.Type = type;
+ this.Data=data;
+ }
+
+ public String getType() {
+ return Type;
+ }
+
+ public void setType(String type) {
+ Type = type;
+ }
+
+ public String getData() {
+ return Data;
+ }
+
+ public void setData(String data) {
+ Data = data;
+ }
+
+}