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 {
}
+ @JsonAlias("property-key")
public void setPropertyKey(String propertyKey) {
this.propertyKey = propertyKey;
}
}
+ @JsonAlias("property-value")
public void setPropertyValue(String propertyValue) {
this.propertyValue = propertyValue;
}
- @JsonProperty("property-key")
public String propertyKey;
- @JsonProperty("property-value")
public String propertyValue;
}