1 package org.onap.vid.aai.model;
3 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
4 import com.fasterxml.jackson.annotation.JsonInclude;
5 import com.fasterxml.jackson.annotation.JsonProperty;
7 @JsonIgnoreProperties(ignoreUnknown = true)
8 @JsonInclude(JsonInclude.Include.NON_NULL)
9 public class RelatedTo {
10 private final String id;
11 private final String relationshipLabel;
12 private final String nodeType;
13 private final String url;
16 @JsonProperty("id") String id,
17 @JsonProperty("relationship-label") String relationshipLabel,
18 @JsonProperty("node-type") String nodeType,
19 @JsonProperty("url") String url) {
21 this.relationshipLabel = relationshipLabel;
22 this.nodeType = nodeType;
26 public String getId() {
29 @JsonProperty("relationship-label")
30 public String getRelationshipLabel() {
31 return relationshipLabel;
33 @JsonProperty("node-type")
34 public String getNodeType() {
38 public String getUrl() {