Update sli-adaptor/aai-service package names
[ccsdk/sli/adaptors.git] / aai-service / provider / src / main / java / org / onap / sli / adaptors / aai / data / SubInterface.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * openECOMP : SDN-C
4  * ================================================================================
5  * Copyright (C) 2017 ONAP Intellectual Property. All rights
6  *                                              reserved.
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
11  * 
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  * 
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=========================================================
20  */
21
22 package org.onap.ccsdk.sli.adaptors.aai.data;
23
24 import java.util.HashMap;
25 import java.util.Map;
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;
33
34 import org.openecomp.aai.inventory.v10.RelationshipList;
35 import org.openecomp.aai.inventory.v10.Vlans;
36
37 @JsonInclude(JsonInclude.Include.NON_NULL)
38 @Generated("org.jsonschema2pojo")
39 @JsonPropertyOrder({
40     "interface-name",
41     "interface-role",
42     "resource-version",
43     "vlans",
44     "relationshipList"
45 })
46 public class SubInterface implements AAIDatum {
47
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")
55     private Vlans vlans;
56     @JsonProperty("relationshipList")
57     private RelationshipList relationshipList;
58     @JsonIgnore
59     private Map<String, Object> additionalProperties = new HashMap<String, Object>();
60
61     /**
62      * 
63      * @return
64      *     The interfaceName
65      */
66     @JsonProperty("interface-name")
67     public String getInterfaceName() {
68         return interfaceName;
69     }
70
71     /**
72      * 
73      * @param interfaceName
74      *     The interface-name
75      */
76     @JsonProperty("interface-name")
77     public void setInterfaceName(String interfaceName) {
78         this.interfaceName = interfaceName;
79     }
80
81     /**
82      * 
83      * @return
84      *     The interfaceRole
85      */
86     @JsonProperty("interface-role")
87     public String getInterfaceRole() {
88         return interfaceRole;
89     }
90
91     /**
92      * 
93      * @param interfaceRole
94      *     The interface-role
95      */
96     @JsonProperty("interface-role")
97     public void setInterfaceRole(String interfaceRole) {
98         this.interfaceRole = interfaceRole;
99     }
100
101     /**
102      * 
103      * @return
104      *     The resourceVersion
105      */
106     @JsonProperty("resource-version")
107     public String getResourceVersion() {
108         return resourceVersion;
109     }
110
111     /**
112      * 
113      * @param resourceVersion
114      *     The resource-version
115      */
116     @JsonProperty("resource-version")
117     public void setResourceVersion(String resourceVersion) {
118         this.resourceVersion = resourceVersion;
119     }
120
121     /**
122      * 
123      * @return
124      *     The vlans
125      */
126     @JsonProperty("vlans")
127     public Vlans getVlans() {
128         return vlans;
129     }
130
131     /**
132      * 
133      * @param vlans
134      *     The vlans
135      */
136     @JsonProperty("vlans")
137     public void setVlans(Vlans vlans) {
138         this.vlans = vlans;
139     }
140
141     /**
142      * 
143      * @return
144      *     The relationshipList
145      */
146     @JsonProperty("relationshipList")
147     public RelationshipList getRelationshipList() {
148         return relationshipList;
149     }
150
151     /**
152      * 
153      * @param relationshipList
154      *     The relationshipList
155      */
156     @JsonProperty("relationshipList")
157     public void setRelationshipList(RelationshipList relationshipList) {
158         this.relationshipList = relationshipList;
159     }
160
161     @JsonAnyGetter
162     public Map<String, Object> getAdditionalProperties() {
163         return this.additionalProperties;
164     }
165
166     @JsonAnySetter
167     public void setAdditionalProperty(String name, Object value) {
168         this.additionalProperties.put(name, value);
169     }
170
171 }