Enhancements for the aai-common library
[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 javax.xml.bind.annotation.*;
31 import java.util.ArrayList;
32 import java.util.List;
33
34 /**
35  * <p>
36  * Java class for anonymous complex type.
37  *
38  * <p>
39  * The following schema fragment specifies the expected content contained within this class.
40  *
41  * <pre>
42  * &lt;complexType>
43  *   &lt;complexContent>
44  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
45  *       &lt;sequence>
46  *         &lt;element name="flavor" maxOccurs="unbounded" minOccurs="0">
47  *           &lt;complexType>
48  *             &lt;complexContent>
49  *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
50  *                 &lt;sequence>
51  *                   &lt;element name="flavor-id" type="{http://www.w3.org/2001/XMLSchema}string"/>
52  *                   &lt;element name="flavor-name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
53  *                   &lt;element name="flavor-vcpus" type="{http://www.w3.org/2001/XMLSchema}short" minOccurs="0"/>
54  *                   &lt;element name="flavor-ram" type="{http://www.w3.org/2001/XMLSchema}short" minOccurs="0"/>
55  *                   &lt;element name="flavor-disk" type="{http://www.w3.org/2001/XMLSchema}short" minOccurs="0"/>
56  *                   &lt;element name="flavor-ephemeral" type="{http://www.w3.org/2001/XMLSchema}short" minOccurs="0"/>
57  *                   &lt;element name="flavor-swap" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
58  *                   &lt;element name="flavor-is-public" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
59  *                   &lt;element name="flavor-selflink" type="{urn:ietf:params:xml:ns:yang:ietf-inet-types}uri" minOccurs="0"/>
60  *                   &lt;element name="flavor-disabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
61  *                   &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
62  *                   &lt;element ref="{http://org.onap.aai.inventory/v3}relationship-list" minOccurs="0"/>
63  *                 &lt;/sequence>
64  *               &lt;/restriction>
65  *             &lt;/complexContent>
66  *           &lt;/complexType>
67  *         &lt;/element>
68  *         &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
69  *       &lt;/sequence>
70  *     &lt;/restriction>
71  *   &lt;/complexContent>
72  * &lt;/complexType>
73  * </pre>
74  *
75  *
76  */
77 @XmlAccessorType(XmlAccessType.FIELD)
78 @XmlType(name = "", propOrder = {"aaiResponseMessage", "any"})
79 @XmlRootElement(name = "aai-response-messages", namespace = "http://org.onap.aai.inventory")
80 public class AAIResponseMessages {
81     @XmlElement(name = "aai-response-message")
82     protected List<AAIResponseMessage> aaiResponseMessage;
83     @XmlAnyElement(lax = true)
84     protected List<Object> any;
85
86     /**
87      * Gets the AAI response message.
88      *
89      * @return the AAI response message
90      */
91     public List<AAIResponseMessage> getAAIResponseMessage() {
92         if (aaiResponseMessage == null) {
93             aaiResponseMessage = new ArrayList<AAIResponseMessage>();
94         }
95         return this.aaiResponseMessage;
96     }
97
98     /**
99      * Gets the any.
100      *
101      * @return the any
102      */
103     public List<Object> getAny() {
104         if (any == null) {
105             any = new ArrayList<Object>();
106         }
107         return this.any;
108     }
109
110 }