Skip to content

Commit

Permalink
Adding userId to UbiEvent.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzonthemtn committed Jan 21, 2025
1 parent bfb6b7f commit e154262
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/main/java/org/opensearch/eval/model/ubi/event/UbiEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}
}

0 comments on commit e154262

Please sign in to comment.