aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/moe/ymc/acron/s2c/response/EventCmdRes.java
diff options
context:
space:
mode:
authorTrumeet <yuuta@yuuta.moe>2022-07-13 12:25:36 -0700
committerTrumeet <yuuta@yuuta.moe>2022-07-13 12:25:36 -0700
commitd1fdb146c7ea78dbe99c38e48bf27dbe9fc5e3d0 (patch)
tree6ac06ce2c95ab43eaac3c44f7ac66bca347ff50a /src/main/java/moe/ymc/acron/s2c/response/EventCmdRes.java
parent83e5d05251f918c6a4775c92e9c95096aaef8292 (diff)
downloadacron-d1fdb146c7ea78dbe99c38e48bf27dbe9fc5e3d0.tar
acron-d1fdb146c7ea78dbe99c38e48bf27dbe9fc5e3d0.tar.gz
acron-d1fdb146c7ea78dbe99c38e48bf27dbe9fc5e3d0.tar.bz2
acron-d1fdb146c7ea78dbe99c38e48bf27dbe9fc5e3d0.zip
Move responses and events to separate packages
Signed-off-by: Trumeet <yuuta@yuuta.moe>
Diffstat (limited to 'src/main/java/moe/ymc/acron/s2c/response/EventCmdRes.java')
-rw-r--r--src/main/java/moe/ymc/acron/s2c/response/EventCmdRes.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/moe/ymc/acron/s2c/response/EventCmdRes.java b/src/main/java/moe/ymc/acron/s2c/response/EventCmdRes.java
new file mode 100644
index 0000000..8c1b6a9
--- /dev/null
+++ b/src/main/java/moe/ymc/acron/s2c/response/EventCmdRes.java
@@ -0,0 +1,10 @@
+package moe.ymc.acron.s2c.response;
+
+import com.google.gson.annotations.SerializedName;
+import moe.ymc.acron.s2c.Event;
+
+public record EventCmdRes(@SerializedName("id") int id,
+ @SerializedName("success") boolean success,
+ @SerializedName("result") int result)
+ implements Event {
+}