7e5fb6865637b239dae8fe48ed31b6971fa3f537
[aai/aai-common.git] / aai-core / src / main / java / org / onap / aai / domain / responseMessage / AAIResponseMessages.java
1 /**
2  * ============LICENSE_START=======================================================
3  * org.onap.aai
4  * ================================================================================
5  * Copyright © 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  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
21  */
22 package org.onap.aai.domain.responseMessage;
23
24
25 //
26 //This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 
27 //See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
28 //Any modifications to this file will be lost upon recompilation of the source schema. 
29 //Generated on: 2015.09.11 at 11:53:27 AM EDT 
30 //
31
32 import java.util.ArrayList;
33 import java.util.List;
34
35 import javax.xml.bind.annotation.XmlAccessType;
36 import javax.xml.bind.annotation.XmlAccessorType;
37 import javax.xml.bind.annotation.XmlAnyElement;
38 import javax.xml.bind.annotation.XmlElement;
39 import javax.xml.bind.annotation.XmlRootElement;
40 import javax.xml.bind.annotation.XmlType;
41
42 /**
43  * <p>Java class for anonymous complex type.
44  * 
45  * <p>The following schema fragment specifies the expected content contained within this class.
46  * 
47  * <pre>
48  * &lt;complexType>
49  *   &lt;complexContent>
50  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
51  *       &lt;sequence>
52  *         &lt;element name="flavor" 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="flavor-id" type="{http://www.w3.org/2001/XMLSchema}string"/>
58  *                   &lt;element name="flavor-name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
59  *                   &lt;element name="flavor-vcpus" type="{http://www.w3.org/2001/XMLSchema}short" minOccurs="0"/>
60  *                   &lt;element name="flavor-ram" type="{http://www.w3.org/2001/XMLSchema}short" minOccurs="0"/>
61  *                   &lt;element name="flavor-disk" type="{http://www.w3.org/2001/XMLSchema}short" minOccurs="0"/>
62  *                   &lt;element name="flavor-ephemeral" type="{http://www.w3.org/2001/XMLSchema}short" minOccurs="0"/>
63  *                   &lt;element name="flavor-swap" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
64  *                   &lt;element name="flavor-is-public" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
65  *                   &lt;element name="flavor-selflink" type="{urn:ietf:params:xml:ns:yang:ietf-inet-types}uri" minOccurs="0"/>
66  *                   &lt;element name="flavor-disabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
67  *                   &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
68  *                   &lt;element ref="{http://org.onap.aai.inventory/v3}relationship-list" minOccurs="0"/>
69  *                 &lt;/sequence>
70  *               &lt;/restriction>
71  *             &lt;/complexContent>
72  *           &lt;/complexType>
73  *         &lt;/element>
74  *         &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
75  *       &lt;/sequence>
76  *     &lt;/restriction>
77  *   &lt;/complexContent>
78  * &lt;/complexType>
79  * </pre>
80  * 
81  * 
82  */
83 @XmlAccessorType(XmlAccessType.FIELD)
84 @XmlType(name = "", propOrder = {
85                 "aaiResponseMessage",
86                 "any"
87 })
88 @XmlRootElement(name = "aai-response-messages", namespace = "http://org.onap.aai.inventory")
89 public class AAIResponseMessages {
90         @XmlElement(name = "aai-response-message")
91         protected List<AAIResponseMessage> aaiResponseMessage;
92         @XmlAnyElement(lax = true)
93         protected List<Object> any;
94
95         /**
96          * Gets the AAI response message.
97          *
98          * @return the AAI response message
99          */
100         public List<AAIResponseMessage> getAAIResponseMessage() {
101                 if (aaiResponseMessage == null) {
102                         aaiResponseMessage = new ArrayList<AAIResponseMessage>();
103                 }
104                 return this.aaiResponseMessage;
105         }
106
107         /**
108          * Gets the any.
109          *
110          * @return the any
111          */
112         public List<Object> getAny() {
113                 if (any == null) {
114                         any = new ArrayList<Object>();
115                 }
116                 return this.any;
117         }
118
119 }