diff options
author | Ittay Stern <ittay.stern@att.com> | 2019-01-10 12:42:59 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-01-10 12:42:59 +0000 |
commit | 659874df80409170e57b6dd6197eb3a81eb3468e (patch) | |
tree | 08e79fd57aa0ed299586fd88f69f87a5a2f5ded1 /vid-app-common/src/main/java/org/onap/vid/aai/model/RelatedToProperty.java | |
parent | 143784a849ece4fc35cc290e33f829b72bf1fc79 (diff) | |
parent | 6ad41e3ccd398a2721f41ad61c80b7bb03f7d127 (diff) |
Merge "Merge from ECOMP's repository"
Diffstat (limited to 'vid-app-common/src/main/java/org/onap/vid/aai/model/RelatedToProperty.java')
-rw-r--r-- | vid-app-common/src/main/java/org/onap/vid/aai/model/RelatedToProperty.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vid-app-common/src/main/java/org/onap/vid/aai/model/RelatedToProperty.java b/vid-app-common/src/main/java/org/onap/vid/aai/model/RelatedToProperty.java index a2a98fc27..9227e87cf 100644 --- a/vid-app-common/src/main/java/org/onap/vid/aai/model/RelatedToProperty.java +++ b/vid-app-common/src/main/java/org/onap/vid/aai/model/RelatedToProperty.java @@ -1,8 +1,8 @@ package org.onap.vid.aai.model; -import org.codehaus.jackson.annotate.JsonIgnoreProperties; -import org.codehaus.jackson.annotate.JsonProperty; +import com.fasterxml.jackson.annotation.JsonAlias; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; @JsonIgnoreProperties(ignoreUnknown = true) public class RelatedToProperty { @@ -12,6 +12,7 @@ public class RelatedToProperty { } + @JsonAlias("property-key") public void setPropertyKey(String propertyKey) { this.propertyKey = propertyKey; } @@ -22,16 +23,15 @@ public class RelatedToProperty { } + @JsonAlias("property-value") public void setPropertyValue(String propertyValue) { this.propertyValue = propertyValue; } - @JsonProperty("property-key") public String propertyKey; - @JsonProperty("property-value") public String propertyValue; } |