aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/java/org/onap/vid/aai/model/RelationshipData.java
blob: 55a0b77dff9ea675972c52132f957c675efddfd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package org.onap.vid.aai.model;

import com.fasterxml.jackson.annotation.JsonAlias;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties(ignoreUnknown = true)
public class RelationshipData {
    public String relationshipKey;
    public String relationshipValue;

    public String getRelationshipKey() {
        return relationshipKey;
    }

    @JsonAlias("relationship-key")
    public void setRelationshipKey(String relationshipKey) {
        this.relationshipKey = relationshipKey;
    }

    public String getRelationshipValue() {
        return relationshipValue;
    }

    @JsonAlias("relationship-value")
    public void setRelationshipValue(String relationshipValue) {
        this.relationshipValue = relationshipValue;
    }

}