From 368a35c3db1fc33e2da0dac47979a008e2d86fbe Mon Sep 17 00:00:00 2001 From: Ben Blanchard Date: Mon, 18 Sep 2023 12:04:00 -0400 Subject: [PATCH] make mark request status a string (#1016) --- .../requestbeans/MarkExperimentRequest.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/clientlibs/java/src/main/java/org/upgradeplatform/requestbeans/MarkExperimentRequest.java b/clientlibs/java/src/main/java/org/upgradeplatform/requestbeans/MarkExperimentRequest.java index 5c7cd7d7db..fad4a612ea 100644 --- a/clientlibs/java/src/main/java/org/upgradeplatform/requestbeans/MarkExperimentRequest.java +++ b/clientlibs/java/src/main/java/org/upgradeplatform/requestbeans/MarkExperimentRequest.java @@ -6,7 +6,7 @@ public class MarkExperimentRequest { private String userId; - private MarkedDecisionPointStatus status; + private String status; private MarkExperimentRequestData data; private String clientError; private String uniquifier; @@ -16,14 +16,14 @@ public MarkExperimentRequest() {} public MarkExperimentRequest(String userId, MarkedDecisionPointStatus status, MarkExperimentRequestData data) { super(); this.userId = userId; - this.status = status; + this.status = status.toString(); this.data = data; } public MarkExperimentRequest(String userId, MarkedDecisionPointStatus status, MarkExperimentRequestData data, String clientError) { super(); this.userId = userId; - this.status = status; + this.status = status.toString(); this.data = data; this.clientError = clientError; } @@ -31,7 +31,7 @@ public MarkExperimentRequest(String userId, MarkedDecisionPointStatus status, Ma public MarkExperimentRequest(String userId, MarkedDecisionPointStatus status, MarkExperimentRequestData data, String clientError, String uniquifier) { this.userId = userId; - this.status = status; + this.status = status.toString(); this.data = data; this.clientError = clientError; this.uniquifier = uniquifier; @@ -45,12 +45,12 @@ public void setUserId(String userId) { this.userId = userId; } - public MarkedDecisionPointStatus getStatus() { + public String getStatus() { return status; } public void setStatus(MarkedDecisionPointStatus status){ - this.status = status; + this.status = status.toString(); } public MarkExperimentRequestData getData(){