Replaced all tabs with spaces in java and pom.xml
[so.git] / adapters / mso-openstack-adapters / src / main / java / org / onap / so / adapters / vnf / async / client / UpdateVnfNotification.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
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
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
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=========================================================
19  */
20
21 package org.onap.so.adapters.vnf.async.client;
22
23 import java.util.ArrayList;
24 import java.util.List;
25 import javax.xml.bind.annotation.XmlAccessType;
26 import javax.xml.bind.annotation.XmlAccessorType;
27 import javax.xml.bind.annotation.XmlElement;
28 import javax.xml.bind.annotation.XmlType;
29
30
31 /**
32  * <p>
33  * Java class for updateVnfNotification complex type.
34  * 
35  * <p>
36  * The following schema fragment specifies the expected content contained within this class.
37  * 
38  * <pre>
39  * &lt;complexType name="updateVnfNotification">
40  *   &lt;complexContent>
41  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
42  *       &lt;sequence>
43  *         &lt;element name="messageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
44  *         &lt;element name="completed" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
45  *         &lt;element name="exception" type="{http://org.onap.so/vnfNotify}msoExceptionCategory" minOccurs="0"/>
46  *         &lt;element name="errorMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
47  *         &lt;element name="outputs" minOccurs="0">
48  *           &lt;complexType>
49  *             &lt;complexContent>
50  *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
51  *                 &lt;sequence>
52  *                   &lt;element name="entry" maxOccurs="unbounded" minOccurs="0">
53  *                     &lt;complexType>
54  *                       &lt;complexContent>
55  *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
56  *                           &lt;sequence>
57  *                             &lt;element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
58  *                             &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
59  *                           &lt;/sequence>
60  *                         &lt;/restriction>
61  *                       &lt;/complexContent>
62  *                     &lt;/complexType>
63  *                   &lt;/element>
64  *                 &lt;/sequence>
65  *               &lt;/restriction>
66  *             &lt;/complexContent>
67  *           &lt;/complexType>
68  *         &lt;/element>
69  *         &lt;element name="rollback" type="{http://org.onap.so/vnfNotify}vnfRollback" minOccurs="0"/>
70  *       &lt;/sequence>
71  *     &lt;/restriction>
72  *   &lt;/complexContent>
73  * &lt;/complexType>
74  * </pre>
75  * 
76  * 
77  */
78 @XmlAccessorType(XmlAccessType.FIELD)
79 @XmlType(name = "updateVnfNotification",
80         propOrder = {"messageId", "completed", "exception", "errorMessage", "outputs", "rollback"})
81 public class UpdateVnfNotification {
82
83     @XmlElement(required = true)
84     protected String messageId;
85     protected boolean completed;
86     protected MsoExceptionCategory exception;
87     protected String errorMessage;
88     protected UpdateVnfNotification.Outputs outputs;
89     protected VnfRollback rollback;
90
91     /**
92      * Gets the value of the messageId property.
93      * 
94      * @return possible object is {@link String }
95      * 
96      */
97     public String getMessageId() {
98         return messageId;
99     }
100
101     /**
102      * Sets the value of the messageId property.
103      * 
104      * @param value allowed object is {@link String }
105      * 
106      */
107     public void setMessageId(String value) {
108         this.messageId = value;
109     }
110
111     /**
112      * Gets the value of the completed property.
113      * 
114      */
115     public boolean isCompleted() {
116         return completed;
117     }
118
119     /**
120      * Sets the value of the completed property.
121      * 
122      */
123     public void setCompleted(boolean value) {
124         this.completed = value;
125     }
126
127     /**
128      * Gets the value of the exception property.
129      * 
130      * @return possible object is {@link MsoExceptionCategory }
131      * 
132      */
133     public MsoExceptionCategory getException() {
134         return exception;
135     }
136
137     /**
138      * Sets the value of the exception property.
139      * 
140      * @param value allowed object is {@link MsoExceptionCategory }
141      * 
142      */
143     public void setException(MsoExceptionCategory value) {
144         this.exception = value;
145     }
146
147     /**
148      * Gets the value of the errorMessage property.
149      * 
150      * @return possible object is {@link String }
151      * 
152      */
153     public String getErrorMessage() {
154         return errorMessage;
155     }
156
157     /**
158      * Sets the value of the errorMessage property.
159      * 
160      * @param value allowed object is {@link String }
161      * 
162      */
163     public void setErrorMessage(String value) {
164         this.errorMessage = value;
165     }
166
167     /**
168      * Gets the value of the outputs property.
169      * 
170      * @return possible object is {@link UpdateVnfNotification.Outputs }
171      * 
172      */
173     public UpdateVnfNotification.Outputs getOutputs() {
174         return outputs;
175     }
176
177     /**
178      * Sets the value of the outputs property.
179      * 
180      * @param value allowed object is {@link UpdateVnfNotification.Outputs }
181      * 
182      */
183     public void setOutputs(UpdateVnfNotification.Outputs value) {
184         this.outputs = value;
185     }
186
187     /**
188      * Gets the value of the rollback property.
189      * 
190      * @return possible object is {@link VnfRollback }
191      * 
192      */
193     public VnfRollback getRollback() {
194         return rollback;
195     }
196
197     /**
198      * Sets the value of the rollback property.
199      * 
200      * @param value allowed object is {@link VnfRollback }
201      * 
202      */
203     public void setRollback(VnfRollback value) {
204         this.rollback = value;
205     }
206
207
208     /**
209      * <p>
210      * Java class for anonymous complex type.
211      * 
212      * <p>
213      * The following schema fragment specifies the expected content contained within this class.
214      * 
215      * <pre>
216      * &lt;complexType>
217      *   &lt;complexContent>
218      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
219      *       &lt;sequence>
220      *         &lt;element name="entry" maxOccurs="unbounded" minOccurs="0">
221      *           &lt;complexType>
222      *             &lt;complexContent>
223      *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
224      *                 &lt;sequence>
225      *                   &lt;element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
226      *                   &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
227      *                 &lt;/sequence>
228      *               &lt;/restriction>
229      *             &lt;/complexContent>
230      *           &lt;/complexType>
231      *         &lt;/element>
232      *       &lt;/sequence>
233      *     &lt;/restriction>
234      *   &lt;/complexContent>
235      * &lt;/complexType>
236      * </pre>
237      * 
238      * 
239      */
240     @XmlAccessorType(XmlAccessType.FIELD)
241     @XmlType(name = "", propOrder = {"entry"})
242     public static class Outputs {
243
244         protected List<UpdateVnfNotification.Outputs.Entry> entry;
245
246         /**
247          * Gets the value of the entry property.
248          * 
249          * <p>
250          * This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you
251          * make to the returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE>
252          * method for the entry property.
253          * 
254          * <p>
255          * For example, to add a new item, do as follows:
256          * 
257          * <pre>
258          * getEntry().add(newItem);
259          * </pre>
260          * 
261          * 
262          * <p>
263          * Objects of the following type(s) are allowed in the list {@link UpdateVnfNotification.Outputs.Entry }
264          * 
265          * 
266          */
267         public List<UpdateVnfNotification.Outputs.Entry> getEntry() {
268             if (entry == null) {
269                 entry = new ArrayList<UpdateVnfNotification.Outputs.Entry>();
270             }
271             return this.entry;
272         }
273
274
275         /**
276          * <p>
277          * Java class for anonymous complex type.
278          * 
279          * <p>
280          * The following schema fragment specifies the expected content contained within this class.
281          * 
282          * <pre>
283          * &lt;complexType>
284          *   &lt;complexContent>
285          *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
286          *       &lt;sequence>
287          *         &lt;element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
288          *         &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
289          *       &lt;/sequence>
290          *     &lt;/restriction>
291          *   &lt;/complexContent>
292          * &lt;/complexType>
293          * </pre>
294          * 
295          * 
296          */
297         @XmlAccessorType(XmlAccessType.FIELD)
298         @XmlType(name = "", propOrder = {"key", "value"})
299         public static class Entry {
300
301             protected String key;
302             protected String value;
303
304             /**
305              * Gets the value of the key property.
306              * 
307              * @return possible object is {@link String }
308              * 
309              */
310             public String getKey() {
311                 return key;
312             }
313
314             /**
315              * Sets the value of the key property.
316              * 
317              * @param value allowed object is {@link String }
318              * 
319              */
320             public void setKey(String value) {
321                 this.key = value;
322             }
323
324             /**
325              * Gets the value of the value property.
326              * 
327              * @return possible object is {@link String }
328              * 
329              */
330             public String getValue() {
331                 return value;
332             }
333
334             /**
335              * Sets the value of the value property.
336              * 
337              * @param value allowed object is {@link String }
338              * 
339              */
340             public void setValue(String value) {
341                 this.value = value;
342             }
343
344         }
345
346     }
347
348 }