2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 ONAP Intellectual Property. All rights
7 * ================================================================================
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 * ============LICENSE_END=========================================================
22 package org.onap.ccsdk.sli.adaptors.aai.data.v1507;
24 import java.util.ArrayList;
25 import java.util.HashMap;
26 import java.util.List;
28 import javax.annotation.Generated;
29 import com.fasterxml.jackson.annotation.JsonAnyGetter;
30 import com.fasterxml.jackson.annotation.JsonAnySetter;
31 import com.fasterxml.jackson.annotation.JsonIgnore;
32 import com.fasterxml.jackson.annotation.JsonInclude;
33 import com.fasterxml.jackson.annotation.JsonProperty;
34 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
36 @JsonInclude(JsonInclude.Include.NON_NULL)
37 @Generated("org.jsonschema2pojo")
44 public class Relationship {
46 @JsonProperty("relatedTo")
47 private String relatedTo;
48 @JsonProperty("relatedLink")
49 private String relatedLink;
50 @JsonProperty("relationshipData")
51 private List<RelationshipDatum> relationshipData = new ArrayList<RelationshipDatum>();
53 private List<Object> any = new ArrayList<Object>();
55 private Map<String, Object> additionalProperties = new HashMap<String, Object>();
62 @JsonProperty("relatedTo")
63 public String getRelatedTo() {
72 @JsonProperty("relatedTo")
73 public void setRelatedTo(String relatedTo) {
74 this.relatedTo = relatedTo;
82 @JsonProperty("relatedLink")
83 public String getRelatedLink() {
92 @JsonProperty("relatedLink")
93 public void setRelatedLink(String relatedLink) {
94 this.relatedLink = relatedLink;
100 * The relationshipData
102 @JsonProperty("relationshipData")
103 public List<RelationshipDatum> getRelationshipData() {
104 return relationshipData;
109 * @param relationshipData
110 * The relationshipData
112 @JsonProperty("relationshipData")
113 public void setRelationshipData(List<RelationshipDatum> relationshipData) {
114 this.relationshipData = relationshipData;
123 public List<Object> getAny() {
133 public void setAny(List<Object> any) {
138 public Map<String, Object> getAdditionalProperties() {
139 return this.additionalProperties;
143 public void setAdditionalProperty(String name, Object value) {
144 this.additionalProperties.put(name, value);