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 networkRollback complex type.
35 * <p>The following schema fragment specifies the expected content contained within this class.
38 * <complexType name="networkRollback">
40 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
42 * <element name="cloudId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
43 * <element name="msoRequest" type="{http://org.onap.so/networkNotify}msoRequest" minOccurs="0"/>
44 * <element name="networkCreated" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
45 * <element name="networkId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
46 * <element name="networkStackId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
47 * <element name="networkName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
48 * <element name="networkType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
49 * <element name="networkUpdated" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
50 * <element name="neutronNetworkId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
51 * <element name="physicalNetwork" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
52 * <element name="tenantId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
53 * <element name="vlans" type="{http://www.w3.org/2001/XMLSchema}int" maxOccurs="unbounded" minOccurs="0"/>
56 * </complexContent>
62 @XmlAccessorType(XmlAccessType.FIELD)
63 @XmlType(name = "networkRollback", propOrder = {
77 public class NetworkRollback {
79 protected String cloudId;
80 protected MsoRequest msoRequest;
81 protected boolean networkCreated;
82 protected String networkId;
83 protected String networkStackId;
84 protected String networkName;
85 protected String networkType;
86 protected boolean networkUpdated;
87 protected String neutronNetworkId;
88 protected String physicalNetwork;
89 protected String tenantId;
90 @XmlElement(nillable = true)
91 protected List<Integer> vlans;
94 * Gets the value of the cloudId property.
101 public String getCloudId() {
106 * Sets the value of the cloudId property.
113 public void setCloudId(String value) {
114 this.cloudId = value;
118 * Gets the value of the msoRequest property.
122 * {@link MsoRequest }
125 public MsoRequest getMsoRequest() {
130 * Sets the value of the msoRequest property.
134 * {@link MsoRequest }
137 public void setMsoRequest(MsoRequest value) {
138 this.msoRequest = value;
142 * Gets the value of the networkCreated property.
145 public boolean isNetworkCreated() {
146 return networkCreated;
150 * Sets the value of the networkCreated property.
153 public void setNetworkCreated(boolean value) {
154 this.networkCreated = value;
158 * Gets the value of the networkId property.
165 public String getNetworkId() {
170 * Sets the value of the networkId property.
177 public void setNetworkId(String value) {
178 this.networkId = value;
182 * Gets the value of the networkStackId property.
189 public String getNetworkStackId() {
190 return networkStackId;
194 * Sets the value of the networkStackId property.
201 public void setNetworkStackId(String value) {
202 this.networkStackId = value;
206 * Gets the value of the networkName property.
213 public String getNetworkName() {
218 * Sets the value of the networkName property.
225 public void setNetworkName(String value) {
226 this.networkName = value;
230 * Gets the value of the networkType property.
237 public String getNetworkType() {
242 * Sets the value of the networkType property.
249 public void setNetworkType(String value) {
250 this.networkType = value;
254 * Gets the value of the networkUpdated property.
257 public boolean isNetworkUpdated() {
258 return networkUpdated;
262 * Sets the value of the networkUpdated property.
265 public void setNetworkUpdated(boolean value) {
266 this.networkUpdated = value;
270 * Gets the value of the neutronNetworkId property.
277 public String getNeutronNetworkId() {
278 return neutronNetworkId;
282 * Sets the value of the neutronNetworkId property.
289 public void setNeutronNetworkId(String value) {
290 this.neutronNetworkId = value;
294 * Gets the value of the physicalNetwork property.
301 public String getPhysicalNetwork() {
302 return physicalNetwork;
306 * Sets the value of the physicalNetwork property.
313 public void setPhysicalNetwork(String value) {
314 this.physicalNetwork = value;
318 * Gets the value of the tenantId property.
325 public String getTenantId() {
330 * Sets the value of the tenantId property.
337 public void setTenantId(String value) {
338 this.tenantId = value;
342 * Gets the value of the vlans property.
345 * This accessor method returns a reference to the live list,
346 * not a snapshot. Therefore any modification you make to the
347 * returned list will be present inside the JAXB object.
348 * This is why there is not a <CODE>set</CODE> method for the vlans property.
351 * For example, to add a new item, do as follows:
353 * getVlans().add(newItem);
358 * Objects of the following type(s) are allowed in the list
363 public List<Integer> getVlans() {
365 vlans = new ArrayList<Integer>();