]> nmode's Git Repositories - signal-cli/blobdiff - src/main/java/org/asamk/signal/jsonrpc/JsonRpcBatchMessage.java
Rename jsonrpc bulk to batch message
[signal-cli] / src / main / java / org / asamk / signal / jsonrpc / JsonRpcBatchMessage.java
diff --git a/src/main/java/org/asamk/signal/jsonrpc/JsonRpcBatchMessage.java b/src/main/java/org/asamk/signal/jsonrpc/JsonRpcBatchMessage.java
new file mode 100644 (file)
index 0000000..09a87a6
--- /dev/null
@@ -0,0 +1,18 @@
+package org.asamk.signal.jsonrpc;
+
+import com.fasterxml.jackson.databind.JsonNode;
+
+import java.util.List;
+
+public final class JsonRpcBatchMessage extends JsonRpcMessage {
+
+    List<JsonNode> messages;
+
+    public JsonRpcBatchMessage(final List<JsonNode> messages) {
+        this.messages = messages;
+    }
+
+    public List<JsonNode> getMessages() {
+        return messages;
+    }
+}