Skip to content

Commit

Permalink
make mark request status a string (#1016)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcb37 authored Sep 18, 2023
1 parent fd1f18b commit 368a35c
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -16,22 +16,22 @@ 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;
}

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;
Expand All @@ -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(){
Expand Down

0 comments on commit 368a35c

Please sign in to comment.