Refactor HttpEntryTest
[aai/aai-common.git] / aai-core / src / test / java / org / onap / aai / rest / db / responses / Relationship.java
1 package org.onap.aai.rest.db.responses;
2
3 /**
4  * ============LICENSE_START=======================================================
5  * org.onap.aai
6  * ================================================================================
7  * Copyright © 2023 Deutsche Telekom. All rights reserved.
8  * ================================================================================
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  *
13  *    http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  * ============LICENSE_END=========================================================
21  */
22
23 import com.fasterxml.jackson.annotation.JsonProperty;
24
25 public class Relationship {
26     @JsonProperty("related-to")
27     private String relatedTo;
28
29     @JsonProperty("relationship-label")
30     private String relationshipLabel;
31
32     @JsonProperty("related-link")
33     private String relatedLink;
34
35     @JsonProperty("relationship-data")
36     private RelationshipData[] relationshipData;
37
38     public String getRelatedTo() {
39         return relatedTo;
40     }
41
42     public void setRelatedTo(String relatedTo) {
43         this.relatedTo = relatedTo;
44     }
45
46     public String getRelationshipLabel() {
47         return relationshipLabel;
48     }
49
50     public void setRelationshipLabel(String relationshipLabel) {
51         this.relationshipLabel = relationshipLabel;
52     }
53
54     public String getRelatedLink() {
55         return relatedLink;
56     }
57
58     public void setRelatedLink(String relatedLink) {
59         this.relatedLink = relatedLink;
60     }
61
62     public RelationshipData[] getRelationshipData() {
63         return relationshipData;
64     }
65
66     public void setRelationshipData(RelationshipData[] relationshipData) {
67         this.relationshipData = relationshipData;
68     }
69 }