09bf30e3016698a025dddb11396b4aaeadcbf1c6
[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
21 package org.onap.aai.domain.responseMessage;
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>
42  * Java class for anonymous complex type.
43  * 
44  * <p>
45  * 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 = {"aaiResponseMessage", "any"})
85 @XmlRootElement(name = "aai-response-messages", namespace = "http://org.onap.aai.inventory")
86 public class AAIResponseMessages {
87     @XmlElement(name = "aai-response-message")
88     protected List<AAIResponseMessage> aaiResponseMessage;
89     @XmlAnyElement(lax = true)
90     protected List<Object> any;
91
92     /**
93      * Gets the AAI response message.
94      *
95      * @return the AAI response message
96      */
97     public List<AAIResponseMessage> getAAIResponseMessage() {
98         if (aaiResponseMessage == null) {
99             aaiResponseMessage = new ArrayList<AAIResponseMessage>();
100         }
101         return this.aaiResponseMessage;
102     }
103
104     /**
105      * Gets the any.
106      *
107      * @return the any
108      */
109     public List<Object> getAny() {
110         if (any == null) {
111             any = new ArrayList<Object>();
112         }
113         return this.any;
114     }
115
116 }