2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T 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;
24 import java.util.HashMap;
26 import javax.annotation.Generated;
27 import com.fasterxml.jackson.annotation.JsonAnyGetter;
28 import com.fasterxml.jackson.annotation.JsonAnySetter;
29 import com.fasterxml.jackson.annotation.JsonIgnore;
30 import com.fasterxml.jackson.annotation.JsonInclude;
31 import com.fasterxml.jackson.annotation.JsonProperty;
32 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
34 import org.onap.aai.inventory.v19.RelationshipList;
35 import org.onap.aai.inventory.v19.Vlans;
37 @JsonInclude(JsonInclude.Include.NON_NULL)
38 @Generated("org.jsonschema2pojo")
46 public class SubInterface implements AAIDatum {
48 @JsonProperty("interface-name")
49 private String interfaceName;
50 @JsonProperty("interface-role")
51 private String interfaceRole;
52 @JsonProperty("resource-version")
53 private String resourceVersion;
54 @JsonProperty("vlans")
56 @JsonProperty("relationshipList")
57 private RelationshipList relationshipList;
59 private Map<String, Object> additionalProperties = new HashMap<String, Object>();
66 @JsonProperty("interface-name")
67 public String getInterfaceName() {
73 * @param interfaceName
76 @JsonProperty("interface-name")
77 public void setInterfaceName(String interfaceName) {
78 this.interfaceName = interfaceName;
86 @JsonProperty("interface-role")
87 public String getInterfaceRole() {
93 * @param interfaceRole
96 @JsonProperty("interface-role")
97 public void setInterfaceRole(String interfaceRole) {
98 this.interfaceRole = interfaceRole;
104 * The resourceVersion
106 @JsonProperty("resource-version")
107 public String getResourceVersion() {
108 return resourceVersion;
113 * @param resourceVersion
114 * The resource-version
116 @JsonProperty("resource-version")
117 public void setResourceVersion(String resourceVersion) {
118 this.resourceVersion = resourceVersion;
126 @JsonProperty("vlans")
127 public Vlans getVlans() {
136 @JsonProperty("vlans")
137 public void setVlans(Vlans vlans) {
144 * The relationshipList
146 @JsonProperty("relationshipList")
147 public RelationshipList getRelationshipList() {
148 return relationshipList;
153 * @param relationshipList
154 * The relationshipList
156 @JsonProperty("relationshipList")
157 public void setRelationshipList(RelationshipList relationshipList) {
158 this.relationshipList = relationshipList;
162 public Map<String, Object> getAdditionalProperties() {
163 return this.additionalProperties;
167 public void setAdditionalProperty(String name, Object value) {
168 this.additionalProperties.put(name, value);