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