diff options
Diffstat (limited to 'src/main/java/org/onap/nbi/apis/serviceorder/model/consumer/RequestState.java')
-rw-r--r-- | src/main/java/org/onap/nbi/apis/serviceorder/model/consumer/RequestState.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/org/onap/nbi/apis/serviceorder/model/consumer/RequestState.java b/src/main/java/org/onap/nbi/apis/serviceorder/model/consumer/RequestState.java index 90ea666..90059db 100644 --- a/src/main/java/org/onap/nbi/apis/serviceorder/model/consumer/RequestState.java +++ b/src/main/java/org/onap/nbi/apis/serviceorder/model/consumer/RequestState.java @@ -16,6 +16,7 @@ package org.onap.nbi.apis.serviceorder.model.consumer; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; public enum RequestState { @@ -44,6 +45,11 @@ public enum RequestState { return null; } + @JsonValue + public String value() { + return this.value; + } + } |