2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Modifications Copyright (C) 2018 IBM.
8 * ================================================================================
9 * Licensed under the Apache License, Version 2.0 (the "License");
10 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
20 * ============LICENSE_END=========================================================
23 package org.onap.so.adapters.network.async.client;
25 import java.util.ArrayList;
26 import java.util.List;
28 import javax.xml.bind.annotation.XmlAccessType;
29 import javax.xml.bind.annotation.XmlAccessorType;
30 import javax.xml.bind.annotation.XmlElement;
31 import javax.xml.bind.annotation.XmlType;
35 * <p>Java class for networkRollback complex type.
37 * <p>The following schema fragment specifies the expected content contained within this class.
40 * <complexType name="networkRollback">
42 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
44 * <element name="cloudId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
45 * <element name="msoRequest" type="{http://org.onap.so/networkNotify}msoRequest" minOccurs="0"/>
46 * <element name="networkCreated" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
47 * <element name="networkId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
48 * <element name="networkStackId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
49 * <element name="networkName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
50 * <element name="networkType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
51 * <element name="networkUpdated" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
52 * <element name="neutronNetworkId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
53 * <element name="physicalNetwork" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
54 * <element name="tenantId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
55 * <element name="vlans" type="{http://www.w3.org/2001/XMLSchema}int" maxOccurs="unbounded" minOccurs="0"/>
58 * </complexContent>
64 @XmlAccessorType(XmlAccessType.FIELD)
65 @XmlType(name = "networkRollback", propOrder = {
79 public class NetworkRollback {
81 protected String cloudId;
82 protected MsoRequest msoRequest;
83 protected boolean networkCreated;
84 protected String networkId;
85 protected String networkStackId;
86 protected String networkName;
87 protected String networkType;
88 protected boolean networkUpdated;
89 protected String neutronNetworkId;
90 protected String physicalNetwork;
91 protected String tenantId;
92 @XmlElement(nillable = true)
93 protected List<Integer> vlans;
96 * Gets the value of the cloudId property.
103 public String getCloudId() {
108 * Sets the value of the cloudId property.
115 public void setCloudId(String value) {
116 this.cloudId = value;
120 * Gets the value of the msoRequest property.
124 * {@link MsoRequest }
127 public MsoRequest getMsoRequest() {
132 * Sets the value of the msoRequest property.
136 * {@link MsoRequest }
139 public void setMsoRequest(MsoRequest value) {
140 this.msoRequest = value;
144 * Gets the value of the networkCreated property.
147 public boolean isNetworkCreated() {
148 return networkCreated;
152 * Sets the value of the networkCreated property.
155 public void setNetworkCreated(boolean value) {
156 this.networkCreated = value;
160 * Gets the value of the networkId property.
167 public String getNetworkId() {
172 * Sets the value of the networkId property.
179 public void setNetworkId(String value) {
180 this.networkId = value;
184 * Gets the value of the networkStackId property.
191 public String getNetworkStackId() {
192 return networkStackId;
196 * Sets the value of the networkStackId property.
203 public void setNetworkStackId(String value) {
204 this.networkStackId = value;
208 * Gets the value of the networkName property.
215 public String getNetworkName() {
220 * Sets the value of the networkName property.
227 public void setNetworkName(String value) {
228 this.networkName = value;
232 * Gets the value of the networkType property.
239 public String getNetworkType() {
244 * Sets the value of the networkType property.
251 public void setNetworkType(String value) {
252 this.networkType = value;
256 * Gets the value of the networkUpdated property.
259 public boolean isNetworkUpdated() {
260 return networkUpdated;
264 * Sets the value of the networkUpdated property.
267 public void setNetworkUpdated(boolean value) {
268 this.networkUpdated = value;
272 * Gets the value of the neutronNetworkId property.
279 public String getNeutronNetworkId() {
280 return neutronNetworkId;
284 * Sets the value of the neutronNetworkId property.
291 public void setNeutronNetworkId(String value) {
292 this.neutronNetworkId = value;
296 * Gets the value of the physicalNetwork property.
303 public String getPhysicalNetwork() {
304 return physicalNetwork;
308 * Sets the value of the physicalNetwork property.
315 public void setPhysicalNetwork(String value) {
316 this.physicalNetwork = value;
320 * Gets the value of the tenantId property.
327 public String getTenantId() {
332 * Sets the value of the tenantId property.
339 public void setTenantId(String value) {
340 this.tenantId = value;
344 * Gets the value of the vlans property.
347 * This accessor method returns a reference to the live list,
348 * not a snapshot. Therefore any modification you make to the
349 * returned list will be present inside the JAXB object.
350 * This is why there is not a <CODE>set</CODE> method for the vlans property.
353 * For example, to add a new item, do as follows:
355 * getVlans().add(newItem);
360 * Objects of the following type(s) are allowed in the list
365 public List<Integer> getVlans() {
367 vlans = new ArrayList<>();