From e1542624665d1ef9354743b3154c39693f64f450 Mon Sep 17 00:00:00 2001 From: jzonthemtn Date: Tue, 21 Jan 2025 08:33:46 -0500 Subject: [PATCH] Adding userId to UbiEvent. --- .../opensearch/eval/model/ubi/event/UbiEvent.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/main/java/org/opensearch/eval/model/ubi/event/UbiEvent.java b/src/main/java/org/opensearch/eval/model/ubi/event/UbiEvent.java index 279356a..34306af 100644 --- a/src/main/java/org/opensearch/eval/model/ubi/event/UbiEvent.java +++ b/src/main/java/org/opensearch/eval/model/ubi/event/UbiEvent.java @@ -16,6 +16,10 @@ */ public class UbiEvent { + @JsonProperty("user_id") + @SerializedName("user_id") + private String userId; + @JsonProperty("action_name") @SerializedName("action_name") private String actionName; @@ -152,4 +156,12 @@ public String getMessageType() { public void setMessageType(String messageType) { this.messageType = messageType; } + + public String getUserId() { + return userId; + } + + public void setUserId(String userId) { + this.userId = userId; + } }