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(){