2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.onap.vid.aai.model.AaiGetNetworkCollectionDetails;
23 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
24 import com.fasterxml.jackson.annotation.JsonProperty;
26 import java.util.List;
29 @JsonIgnoreProperties(ignoreUnknown = true)
30 public class Relationship {
32 @JsonProperty("related-to")
33 public String relatedTo;
35 @JsonProperty("related-link")
36 public String relatedLink;
38 @JsonProperty("relationship-label")
39 public String relationshipLabel;
41 @JsonProperty("relationship-data")
42 public List<RelationshipData> relationshipData;
44 @JsonProperty("related-to-property")
45 public List<RelatedToProperty> relatedToProperty;
48 public String getRelatedTo() {
52 public void setRelatedTo(String relatedTo) {
53 this.relatedTo = relatedTo;
56 public String getRelatedLink() {
60 public void setRelatedLink(String relatedLink) {
61 this.relatedLink = relatedLink;
64 public List<RelationshipData> getRelationDataList() {
65 return relationshipData;
68 public void setRelationDataList(List<RelationshipData> relationDataList) {
69 this.relationshipData = relationDataList;
72 public List<RelatedToProperty> getRelatedToPropertyList() {
73 return relatedToProperty;
76 public void setRelatedToPropertyList(List<RelatedToProperty> relatedToPropertyList) {
77 this.relatedToProperty = relatedToPropertyList;
80 public String getRelationshipLabel() {
81 return relationshipLabel;
84 public void setRelationshipLabel(String relationshipLabel) {
85 this.relationshipLabel = relationshipLabel;