blob: fb3497c6a21b740405341fc3c769c6b0941317d9 [file] [log] [blame]
Aharoni, Pavel (pa0916)ca3cb012018-10-22 15:29:57 +03001/*-
2 * ============LICENSE_START=======================================================
3 * OSAM
4 * ================================================================================
5 * Copyright (C) 2018 AT&T
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
22
23package org.onap.osam.aai.model.AaiGetNetworkCollectionDetails;
24
25import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
26import com.fasterxml.jackson.annotation.JsonProperty;
27
28import java.util.List;
29
30
31@JsonIgnoreProperties(ignoreUnknown = true)
32public class Relationship {
33
34 @JsonProperty("related-to")
35 public String relatedTo;
36
37 @JsonProperty("related-link")
38 public String relatedLink;
39
40 @JsonProperty("relationship-label")
41 public String relationshipLabel;
42
43 @JsonProperty("relationship-data")
44 public List<RelationshipData> relationshipData;
45
46 @JsonProperty("related-to-property")
47 public List<RelatedToProperty> relatedToProperty;
48
49
50 public String getRelatedTo() {
51 return relatedTo;
52 }
53
54 public void setRelatedTo(String relatedTo) {
55 this.relatedTo = relatedTo;
56 }
57
58 public String getRelatedLink() {
59 return relatedLink;
60 }
61
62 public void setRelatedLink(String relatedLink) {
63 this.relatedLink = relatedLink;
64 }
65
66 public List<RelationshipData> getRelationDataList() {
67 return relationshipData;
68 }
69
70 public void setRelationDataList(List<RelationshipData> relationDataList) {
71 this.relationshipData = relationDataList;
72 }
73
74 public List<RelatedToProperty> getRelatedToPropertyList() {
75 return relatedToProperty;
76 }
77
78 public void setRelatedToPropertyList(List<RelatedToProperty> relatedToPropertyList) {
79 this.relatedToProperty = relatedToPropertyList;
80 }
81
82 public String getRelationshipLabel() {
83 return relationshipLabel;
84 }
85
86 public void setRelationshipLabel(String relationshipLabel) {
87 this.relationshipLabel = relationshipLabel;
88 }
89}