7bc2e7a2e7365842545216e67f1728efe8da1cd3
[vid.git] / vid-app-common / src / main / java / org / onap / vid / aai / model / AaiRelationResponse.java
1 package org.onap.vid.aai.model;
2
3
4
5 import org.codehaus.jackson.annotate.JsonIgnore;
6 import org.codehaus.jackson.annotate.JsonProperty;
7
8 import java.util.HashMap;
9 import java.util.Map;
10
11 /**
12  * Created by moriya1 on 08/10/2017.
13  */
14 public class AaiRelationResponse {
15
16     @JsonProperty("resource-version")
17     private String resourceVersion;
18     @JsonProperty("relationship-list")
19     private RelationshipList relationshipList;
20     @JsonIgnore
21     private Map<String, Object> additionalProperties = new HashMap<String, Object>();
22
23
24     @JsonProperty("resource-version")
25     public String getResourceVersion() {
26         return resourceVersion;
27     }
28
29     @JsonProperty("resource-version")
30     public void setResourceVersion(String resourceVersion) {
31         this.resourceVersion = resourceVersion;
32     }
33
34     @JsonProperty("relationship-list")
35     public RelationshipList getRelationshipList() {
36         return relationshipList;
37     }
38
39     @JsonProperty("relationship-list")
40     public void setRelationshipList(RelationshipList relationshipList) {
41         this.relationshipList = relationshipList;
42     }
43
44
45 }