aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/de/torui/coflsky/commands/RawCommand.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/de/torui/coflsky/commands/RawCommand.java')
-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;
+ }
+
+}