Fix for Penetration test _ Session and cookie management
[vid.git] / vid-app-common / src / main / java / org / onap / vid / aai / model / AaiRelationResponse.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * VID
4  * ================================================================================
5  * Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.onap.vid.aai.model;
22
23
24 import com.fasterxml.jackson.annotation.JsonAlias;
25 import com.fasterxml.jackson.annotation.JsonIgnore;
26
27 import java.util.HashMap;
28 import java.util.Map;
29
30 /**
31  * Created by moriya1 on 08/10/2017.
32  */
33 public class AaiRelationResponse {
34
35     private String resourceVersion;
36     private RelationshipList relationshipList;
37
38     @JsonIgnore
39     private Map<String, Object> additionalProperties = new HashMap<>();
40
41
42     public String getResourceVersion() {
43         return resourceVersion;
44     }
45
46     @JsonAlias("resource-version")
47     public void setResourceVersion(String resourceVersion) {
48         this.resourceVersion = resourceVersion;
49     }
50
51     public RelationshipList getRelationshipList() {
52         return relationshipList;
53     }
54
55     @JsonAlias("relationship-list")
56     public void setRelationshipList(RelationshipList relationshipList) {
57         this.relationshipList = relationshipList;
58     }
59
60
61 }