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.vnf.async.client;
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;
33 * Java class for queryVnfNotification complex type.
36 * The following schema fragment specifies the expected content contained within this class.
39 * <complexType name="queryVnfNotification">
41 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
43 * <element name="messageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
44 * <element name="completed" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
45 * <element name="exception" type="{http://org.onap.so/vnfNotify}msoExceptionCategory" minOccurs="0"/>
46 * <element name="errorMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
47 * <element name="vnfExists" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
48 * <element name="vnfId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
49 * <element name="status" type="{http://org.onap.so/vnfNotify}vnfStatus" minOccurs="0"/>
50 * <element name="outputs" minOccurs="0">
53 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
55 * <element name="entry" maxOccurs="unbounded" minOccurs="0">
58 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
60 * <element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
61 * <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
64 * </complexContent>
69 * </complexContent>
74 * </complexContent>
80 @XmlAccessorType(XmlAccessType.FIELD)
81 @XmlType(name = "queryVnfNotification",
82 propOrder = {"messageId", "completed", "exception", "errorMessage", "vnfExists", "vnfId", "status", "outputs"})
83 public class QueryVnfNotification {
85 @XmlElement(required = true)
86 protected String messageId;
87 protected boolean completed;
88 protected MsoExceptionCategory exception;
89 protected String errorMessage;
90 protected Boolean vnfExists;
91 protected String vnfId;
92 protected VnfStatus status;
93 protected QueryVnfNotification.Outputs outputs;
96 * Gets the value of the messageId property.
98 * @return possible object is {@link String }
101 public String getMessageId() {
106 * Sets the value of the messageId property.
108 * @param value allowed object is {@link String }
111 public void setMessageId(String value) {
112 this.messageId = value;
116 * Gets the value of the completed property.
119 public boolean isCompleted() {
124 * Sets the value of the completed property.
127 public void setCompleted(boolean value) {
128 this.completed = value;
132 * Gets the value of the exception property.
134 * @return possible object is {@link MsoExceptionCategory }
137 public MsoExceptionCategory getException() {
142 * Sets the value of the exception property.
144 * @param value allowed object is {@link MsoExceptionCategory }
147 public void setException(MsoExceptionCategory value) {
148 this.exception = value;
152 * Gets the value of the errorMessage property.
154 * @return possible object is {@link String }
157 public String getErrorMessage() {
162 * Sets the value of the errorMessage property.
164 * @param value allowed object is {@link String }
167 public void setErrorMessage(String value) {
168 this.errorMessage = value;
172 * Gets the value of the vnfExists property.
174 * @return possible object is {@link Boolean }
177 public Boolean isVnfExists() {
182 * Sets the value of the vnfExists property.
184 * @param value allowed object is {@link Boolean }
187 public void setVnfExists(Boolean value) {
188 this.vnfExists = value;
192 * Gets the value of the vnfId property.
194 * @return possible object is {@link String }
197 public String getVnfId() {
202 * Sets the value of the vnfId property.
204 * @param value allowed object is {@link String }
207 public void setVnfId(String value) {
212 * Gets the value of the status property.
214 * @return possible object is {@link VnfStatus }
217 public VnfStatus getStatus() {
222 * Sets the value of the status property.
224 * @param value allowed object is {@link VnfStatus }
227 public void setStatus(VnfStatus value) {
232 * Gets the value of the outputs property.
234 * @return possible object is {@link QueryVnfNotification.Outputs }
237 public QueryVnfNotification.Outputs getOutputs() {
242 * Sets the value of the outputs property.
244 * @param value allowed object is {@link QueryVnfNotification.Outputs }
247 public void setOutputs(QueryVnfNotification.Outputs value) {
248 this.outputs = value;
254 * Java class for anonymous complex type.
257 * The following schema fragment specifies the expected content contained within this class.
261 * <complexContent>
262 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
264 * <element name="entry" maxOccurs="unbounded" minOccurs="0">
266 * <complexContent>
267 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
269 * <element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
270 * <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
273 * </complexContent>
278 * </complexContent>
284 @XmlAccessorType(XmlAccessType.FIELD)
285 @XmlType(name = "", propOrder = {"entry"})
286 public static class Outputs {
288 protected List<QueryVnfNotification.Outputs.Entry> entry;
291 * Gets the value of the entry property.
294 * This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you
295 * make to the returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE>
296 * method for the entry property.
299 * For example, to add a new item, do as follows:
302 * getEntry().add(newItem);
307 * Objects of the following type(s) are allowed in the list {@link QueryVnfNotification.Outputs.Entry }
311 public List<QueryVnfNotification.Outputs.Entry> getEntry() {
313 entry = new ArrayList<>();
321 * Java class for anonymous complex type.
324 * The following schema fragment specifies the expected content contained within this class.
328 * <complexContent>
329 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
331 * <element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
332 * <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
335 * </complexContent>
341 @XmlAccessorType(XmlAccessType.FIELD)
342 @XmlType(name = "", propOrder = {"key", "value"})
343 public static class Entry {
345 protected String key;
346 protected String value;
349 * Gets the value of the key property.
351 * @return possible object is {@link String }
354 public String getKey() {
359 * Sets the value of the key property.
361 * @param value allowed object is {@link String }
364 public void setKey(String value) {
369 * Gets the value of the value property.
371 * @return possible object is {@link String }
374 public String getValue() {
379 * Sets the value of the value property.
381 * @param value allowed object is {@link String }
384 public void setValue(String value) {