2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.onap.so.adapters.network.async.client;
23 import java.util.ArrayList;
24 import java.util.List;
26 import javax.xml.bind.annotation.XmlAccessType;
27 import javax.xml.bind.annotation.XmlAccessorType;
28 import javax.xml.bind.annotation.XmlElement;
29 import javax.xml.bind.annotation.XmlType;
33 * <p>Java class for queryNetworkNotification complex type.
35 * <p>The following schema fragment specifies the expected content contained within this class.
38 * <complexType name="queryNetworkNotification">
40 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
42 * <element name="messageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
43 * <element name="completed" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
44 * <element name="exception" type="{http://org.onap.so/networkNotify}msoExceptionCategory" minOccurs="0"/>
45 * <element name="errorMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
46 * <element name="networkExists" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
47 * <element name="networkId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
48 * <element name="neutronNetworkId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
49 * <element name="status" type="{http://org.onap.so/networkNotify}networkStatus" minOccurs="0"/>
50 * <element name="vlans" type="{http://www.w3.org/2001/XMLSchema}int" maxOccurs="unbounded" minOccurs="0"/>
51 * <element name="subnetIdMap" minOccurs="0">
54 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
56 * <element name="entry" maxOccurs="unbounded" minOccurs="0">
59 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
61 * <element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
62 * <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
65 * </complexContent>
70 * </complexContent>
75 * </complexContent>
81 @XmlAccessorType(XmlAccessType.FIELD)
82 @XmlType(name = "queryNetworkNotification", propOrder = {
94 public class QueryNetworkNotification {
96 @XmlElement(required = true)
97 protected String messageId;
98 protected boolean completed;
99 protected MsoExceptionCategory exception;
100 protected String errorMessage;
101 protected Boolean networkExists;
102 protected String networkId;
103 protected String neutronNetworkId;
104 protected NetworkStatus status;
105 @XmlElement(type = Integer.class)
106 protected List<Integer> vlans;
107 protected QueryNetworkNotification.SubnetIdMap subnetIdMap;
110 * Gets the value of the messageId property.
117 public String getMessageId() {
122 * Sets the value of the messageId property.
129 public void setMessageId(String value) {
130 this.messageId = value;
134 * Gets the value of the completed property.
137 public boolean isCompleted() {
142 * Sets the value of the completed property.
145 public void setCompleted(boolean value) {
146 this.completed = value;
150 * Gets the value of the exception property.
154 * {@link MsoExceptionCategory }
157 public MsoExceptionCategory getException() {
162 * Sets the value of the exception property.
166 * {@link MsoExceptionCategory }
169 public void setException(MsoExceptionCategory value) {
170 this.exception = value;
174 * Gets the value of the errorMessage property.
181 public String getErrorMessage() {
186 * Sets the value of the errorMessage property.
193 public void setErrorMessage(String value) {
194 this.errorMessage = value;
198 * Gets the value of the networkExists property.
205 public Boolean isNetworkExists() {
206 return networkExists;
210 * Sets the value of the networkExists property.
217 public void setNetworkExists(Boolean value) {
218 this.networkExists = value;
222 * Gets the value of the networkId property.
229 public String getNetworkId() {
234 * Sets the value of the networkId property.
241 public void setNetworkId(String value) {
242 this.networkId = value;
246 * Gets the value of the neutronNetworkId property.
253 public String getNeutronNetworkId() {
254 return neutronNetworkId;
258 * Sets the value of the neutronNetworkId property.
265 public void setNeutronNetworkId(String value) {
266 this.neutronNetworkId = value;
270 * Gets the value of the status property.
274 * {@link NetworkStatus }
277 public NetworkStatus getStatus() {
282 * Sets the value of the status property.
286 * {@link NetworkStatus }
289 public void setStatus(NetworkStatus value) {
294 * Gets the value of the vlans property.
297 * This accessor method returns a reference to the live list,
298 * not a snapshot. Therefore any modification you make to the
299 * returned list will be present inside the JAXB object.
300 * This is why there is not a <CODE>set</CODE> method for the vlans property.
303 * For example, to add a new item, do as follows:
305 * getVlans().add(newItem);
310 * Objects of the following type(s) are allowed in the list
315 public List<Integer> getVlans() {
317 vlans = new ArrayList<Integer>();
323 * Gets the value of the subnetIdMap property.
327 * {@link QueryNetworkNotification.SubnetIdMap }
330 public QueryNetworkNotification.SubnetIdMap getSubnetIdMap() {
335 * Sets the value of the subnetIdMap property.
339 * {@link QueryNetworkNotification.SubnetIdMap }
342 public void setSubnetIdMap(QueryNetworkNotification.SubnetIdMap value) {
343 this.subnetIdMap = value;
348 * <p>Java class for anonymous complex type.
350 * <p>The following schema fragment specifies the expected content contained within this class.
354 * <complexContent>
355 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
357 * <element name="entry" maxOccurs="unbounded" minOccurs="0">
359 * <complexContent>
360 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
362 * <element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
363 * <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
366 * </complexContent>
371 * </complexContent>
377 @XmlAccessorType(XmlAccessType.FIELD)
378 @XmlType(name = "", propOrder = {
381 public static class SubnetIdMap {
383 protected List<QueryNetworkNotification.SubnetIdMap.Entry> entry;
386 * Gets the value of the entry property.
389 * This accessor method returns a reference to the live list,
390 * not a snapshot. Therefore any modification you make to the
391 * returned list will be present inside the JAXB object.
392 * This is why there is not a <CODE>set</CODE> method for the entry property.
395 * For example, to add a new item, do as follows:
397 * getEntry().add(newItem);
402 * Objects of the following type(s) are allowed in the list
403 * {@link QueryNetworkNotification.SubnetIdMap.Entry }
407 public List<QueryNetworkNotification.SubnetIdMap.Entry> getEntry() {
409 entry = new ArrayList<QueryNetworkNotification.SubnetIdMap.Entry>();
416 * <p>Java class for anonymous complex type.
418 * <p>The following schema fragment specifies the expected content contained within this class.
422 * <complexContent>
423 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
425 * <element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
426 * <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
429 * </complexContent>
435 @XmlAccessorType(XmlAccessType.FIELD)
436 @XmlType(name = "", propOrder = {
440 public static class Entry {
442 protected String key;
443 protected String value;
446 * Gets the value of the key property.
453 public String getKey() {
458 * Sets the value of the key property.
465 public void setKey(String value) {
470 * Gets the value of the value property.
477 public String getValue() {
482 * Sets the value of the value property.
489 public void setValue(String value) {