Implant vid-app-common org.onap.vid.job (main and test)
[vid.git] / vid-app-common / src / main / java / org / onap / vid / aai / model / AaiGetNetworkCollectionDetails / Relationship.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.AaiGetNetworkCollectionDetails;
22
23 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
24 import com.fasterxml.jackson.annotation.JsonProperty;
25
26 import java.util.List;
27
28
29 @JsonIgnoreProperties(ignoreUnknown = true)
30 public class Relationship {
31
32         @JsonProperty("related-to")
33         public String relatedTo;
34
35         @JsonProperty("related-link")
36         public String relatedLink;
37
38         @JsonProperty("relationship-label")
39         public String relationshipLabel;
40
41         @JsonProperty("relationship-data")
42         public List<RelationshipData> relationshipData;
43
44         @JsonProperty("related-to-property")
45         public List<RelatedToProperty> relatedToProperty;
46
47
48         public String getRelatedTo() {
49                 return relatedTo;
50         }
51
52         public void setRelatedTo(String relatedTo) {
53                 this.relatedTo = relatedTo;
54         }
55
56         public String getRelatedLink() {
57                 return relatedLink;
58         }
59
60         public void setRelatedLink(String relatedLink) {
61                 this.relatedLink = relatedLink;
62         }
63
64         public List<RelationshipData> getRelationDataList() {
65                 return relationshipData;
66         }
67
68         public void setRelationDataList(List<RelationshipData> relationDataList) {
69                 this.relationshipData = relationDataList;
70         }
71
72         public List<RelatedToProperty> getRelatedToPropertyList() {
73                 return relatedToProperty;
74         }
75
76         public void setRelatedToPropertyList(List<RelatedToProperty> relatedToPropertyList) {
77                 this.relatedToProperty = relatedToPropertyList;
78         }
79
80         public String getRelationshipLabel() {
81                 return relationshipLabel;
82         }
83
84         public void setRelationshipLabel(String relationshipLabel) {
85                 this.relationshipLabel = relationshipLabel;
86         }
87 }