1 package org.onap.aai.rest.db.responses;
4 * ============LICENSE_START=======================================================
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
13 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
23 import com.fasterxml.jackson.annotation.JsonProperty;
25 public class Relationship {
26 @JsonProperty("related-to")
27 private String relatedTo;
29 @JsonProperty("relationship-label")
30 private String relationshipLabel;
32 @JsonProperty("related-link")
33 private String relatedLink;
35 @JsonProperty("relationship-data")
36 private RelationshipData[] relationshipData;
38 public String getRelatedTo() {
42 public void setRelatedTo(String relatedTo) {
43 this.relatedTo = relatedTo;
46 public String getRelationshipLabel() {
47 return relationshipLabel;
50 public void setRelationshipLabel(String relationshipLabel) {
51 this.relationshipLabel = relationshipLabel;
54 public String getRelatedLink() {
58 public void setRelatedLink(String relatedLink) {
59 this.relatedLink = relatedLink;
62 public RelationshipData[] getRelationshipData() {
63 return relationshipData;
66 public void setRelationshipData(RelationshipData[] relationshipData) {
67 this.relationshipData = relationshipData;