688e11b8d187b82d0af4279ab9779f417094b3fb
[aaf/authz.git] / misc / env / src / test / java / org / onap / aaf / misc / env / Api.java
1 /**
2  * ============LICENSE_START====================================================
3  * org.onap.aaf
4  * ===========================================================================
5  * Copyright (c) 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 //
22 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-2 
23 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
24 // Any modifications to this file will be lost upon recompilation of the source schema. 
25 // Generated on: 2018.12.09 at 10:14:23 PM IST 
26 //
27
28
29 package org.onap.aaf.misc.env;
30
31 import java.util.ArrayList;
32 import java.util.List;
33 import javax.xml.bind.annotation.XmlAccessType;
34 import javax.xml.bind.annotation.XmlAccessorType;
35 import javax.xml.bind.annotation.XmlElement;
36 import javax.xml.bind.annotation.XmlRootElement;
37 import javax.xml.bind.annotation.XmlType;
38
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="route" 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="meth" type="{http://www.w3.org/2001/XMLSchema}string"/>
56  *                   &lt;element name="path" type="{http://www.w3.org/2001/XMLSchema}string"/>
57  *                   &lt;element name="param" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
58  *                   &lt;element name="desc" type="{http://www.w3.org/2001/XMLSchema}string"/>
59  *                   &lt;element name="comments" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
60  *                   &lt;element name="contentType" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
61  *                   &lt;element name="expected" type="{http://www.w3.org/2001/XMLSchema}int"/>
62  *                   &lt;element name="explicitErr" type="{http://www.w3.org/2001/XMLSchema}int" maxOccurs="unbounded" minOccurs="0"/>
63  *                 &lt;/sequence>
64  *               &lt;/restriction>
65  *             &lt;/complexContent>
66  *           &lt;/complexType>
67  *         &lt;/element>
68  *       &lt;/sequence>
69  *     &lt;/restriction>
70  *   &lt;/complexContent>
71  * &lt;/complexType>
72  * </pre>
73  * 
74  * 
75  */
76 @XmlAccessorType(XmlAccessType.FIELD)
77 @XmlType(name = "", propOrder = {
78     "route"
79 })
80 @XmlRootElement(name = "api")
81 public class Api {
82
83     protected List<Api.Route> route;
84
85     /**
86      * Gets the value of the route property.
87      * 
88      * <p>
89      * This accessor method returns a reference to the live list,
90      * not a snapshot. Therefore any modification you make to the
91      * returned list will be present inside the JAXB object.
92      * This is why there is not a <CODE>set</CODE> method for the route property.
93      * 
94      * <p>
95      * For example, to add a new item, do as follows:
96      * <pre>
97      *    getRoute().add(newItem);
98      * </pre>
99      * 
100      * 
101      * <p>
102      * Objects of the following type(s) are allowed in the list
103      * {@link Api.Route }
104      * 
105      * 
106      */
107     public List<Api.Route> getRoute() {
108         if (route == null) {
109             route = new ArrayList<Api.Route>();
110         }
111         return this.route;
112     }
113
114
115     /**
116      * <p>Java class for anonymous complex type.
117      * 
118      * <p>The following schema fragment specifies the expected content contained within this class.
119      * 
120      * <pre>
121      * &lt;complexType>
122      *   &lt;complexContent>
123      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
124      *       &lt;sequence>
125      *         &lt;element name="meth" type="{http://www.w3.org/2001/XMLSchema}string"/>
126      *         &lt;element name="path" type="{http://www.w3.org/2001/XMLSchema}string"/>
127      *         &lt;element name="param" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
128      *         &lt;element name="desc" type="{http://www.w3.org/2001/XMLSchema}string"/>
129      *         &lt;element name="comments" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
130      *         &lt;element name="contentType" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
131      *         &lt;element name="expected" type="{http://www.w3.org/2001/XMLSchema}int"/>
132      *         &lt;element name="explicitErr" type="{http://www.w3.org/2001/XMLSchema}int" maxOccurs="unbounded" minOccurs="0"/>
133      *       &lt;/sequence>
134      *     &lt;/restriction>
135      *   &lt;/complexContent>
136      * &lt;/complexType>
137      * </pre>
138      * 
139      * 
140      */
141     @XmlAccessorType(XmlAccessType.FIELD)
142     @XmlType(name = "", propOrder = {
143         "meth",
144         "path",
145         "param",
146         "desc",
147         "comments",
148         "contentType",
149         "expected",
150         "explicitErr"
151     })
152     public static class Route {
153
154         @XmlElement(required = true)
155         protected String meth;
156         @XmlElement(required = true)
157         protected String path;
158         protected List<String> param;
159         @XmlElement(required = true)
160         protected String desc;
161         protected List<String> comments;
162         protected List<String> contentType;
163         protected int expected;
164         @XmlElement(type = Integer.class)
165         protected List<Integer> explicitErr;
166
167         /**
168          * Gets the value of the meth property.
169          * 
170          * @return
171          *     possible object is
172          *     {@link String }
173          *     
174          */
175         public String getMeth() {
176             return meth;
177         }
178
179         /**
180          * Sets the value of the meth property.
181          * 
182          * @param value
183          *     allowed object is
184          *     {@link String }
185          *     
186          */
187         public void setMeth(String value) {
188             this.meth = value;
189         }
190
191         /**
192          * Gets the value of the path property.
193          * 
194          * @return
195          *     possible object is
196          *     {@link String }
197          *     
198          */
199         public String getPath() {
200             return path;
201         }
202
203         /**
204          * Sets the value of the path property.
205          * 
206          * @param value
207          *     allowed object is
208          *     {@link String }
209          *     
210          */
211         public void setPath(String value) {
212             this.path = value;
213         }
214
215         /**
216          * Gets the value of the param property.
217          * 
218          * <p>
219          * This accessor method returns a reference to the live list,
220          * not a snapshot. Therefore any modification you make to the
221          * returned list will be present inside the JAXB object.
222          * This is why there is not a <CODE>set</CODE> method for the param property.
223          * 
224          * <p>
225          * For example, to add a new item, do as follows:
226          * <pre>
227          *    getParam().add(newItem);
228          * </pre>
229          * 
230          * 
231          * <p>
232          * Objects of the following type(s) are allowed in the list
233          * {@link String }
234          * 
235          * 
236          */
237         public List<String> getParam() {
238             if (param == null) {
239                 param = new ArrayList<String>();
240             }
241             return this.param;
242         }
243
244         /**
245          * Gets the value of the desc property.
246          * 
247          * @return
248          *     possible object is
249          *     {@link String }
250          *     
251          */
252         public String getDesc() {
253             return desc;
254         }
255
256         /**
257          * Sets the value of the desc property.
258          * 
259          * @param value
260          *     allowed object is
261          *     {@link String }
262          *     
263          */
264         public void setDesc(String value) {
265             this.desc = value;
266         }
267
268         /**
269          * Gets the value of the comments property.
270          * 
271          * <p>
272          * This accessor method returns a reference to the live list,
273          * not a snapshot. Therefore any modification you make to the
274          * returned list will be present inside the JAXB object.
275          * This is why there is not a <CODE>set</CODE> method for the comments property.
276          * 
277          * <p>
278          * For example, to add a new item, do as follows:
279          * <pre>
280          *    getComments().add(newItem);
281          * </pre>
282          * 
283          * 
284          * <p>
285          * Objects of the following type(s) are allowed in the list
286          * {@link String }
287          * 
288          * 
289          */
290         public List<String> getComments() {
291             if (comments == null) {
292                 comments = new ArrayList<String>();
293             }
294             return this.comments;
295         }
296
297         /**
298          * Gets the value of the contentType property.
299          * 
300          * <p>
301          * This accessor method returns a reference to the live list,
302          * not a snapshot. Therefore any modification you make to the
303          * returned list will be present inside the JAXB object.
304          * This is why there is not a <CODE>set</CODE> method for the contentType property.
305          * 
306          * <p>
307          * For example, to add a new item, do as follows:
308          * <pre>
309          *    getContentType().add(newItem);
310          * </pre>
311          * 
312          * 
313          * <p>
314          * Objects of the following type(s) are allowed in the list
315          * {@link String }
316          * 
317          * 
318          */
319         public List<String> getContentType() {
320             if (contentType == null) {
321                 contentType = new ArrayList<String>();
322             }
323             return this.contentType;
324         }
325
326         /**
327          * Gets the value of the expected property.
328          * 
329          */
330         public int getExpected() {
331             return expected;
332         }
333
334         /**
335          * Sets the value of the expected property.
336          * 
337          */
338         public void setExpected(int value) {
339             this.expected = value;
340         }
341
342         /**
343          * Gets the value of the explicitErr property.
344          * 
345          * <p>
346          * This accessor method returns a reference to the live list,
347          * not a snapshot. Therefore any modification you make to the
348          * returned list will be present inside the JAXB object.
349          * This is why there is not a <CODE>set</CODE> method for the explicitErr property.
350          * 
351          * <p>
352          * For example, to add a new item, do as follows:
353          * <pre>
354          *    getExplicitErr().add(newItem);
355          * </pre>
356          * 
357          * 
358          * <p>
359          * Objects of the following type(s) are allowed in the list
360          * {@link Integer }
361          * 
362          * 
363          */
364         public List<Integer> getExplicitErr() {
365             if (explicitErr == null) {
366                 explicitErr = new ArrayList<Integer>();
367             }
368             return this.explicitErr;
369         }
370
371     }
372
373 }