AT&T 1712 and 1802 release code
[so.git] / mso-api-handlers / mso-api-handler-infra / src / main / java / org / openecomp / mso / apihandlerinfra / tenantisolationbeans / RequestList.java
1 /*-\r
2  * ============LICENSE_START=======================================================\r
3  * ONAP - SO\r
4  * ================================================================================\r
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.\r
6  * ================================================================================\r
7  * Licensed under the Apache License, Version 2.0 (the "License");\r
8  * you may not use this file except in compliance with the License.\r
9  * You may obtain a copy of the License at\r
10  *\r
11  *      http://www.apache.org/licenses/LICENSE-2.0\r
12  *\r
13  * Unless required by applicable law or agreed to in writing, software\r
14  * distributed under the License is distributed on an "AS IS" BASIS,\r
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
16  * See the License for the specific language governing permissions and\r
17  * limitations under the License.\r
18  * ============LICENSE_END=========================================================\r
19  */\r
20 \r
21 package org.openecomp.mso.apihandlerinfra.tenantisolationbeans;\r
22 \r
23 import java.io.Serializable;\r
24 import java.util.Arrays;\r
25 \r
26 import com.fasterxml.jackson.annotation.JsonInclude;\r
27 import com.fasterxml.jackson.annotation.JsonInclude.Include;\r
28 import com.fasterxml.jackson.annotation.JsonProperty;\r
29 import com.fasterxml.jackson.annotation.JsonRootName;\r
30 \r
31 @JsonRootName(value = "requestDetails")\r
32 @JsonInclude(Include.NON_DEFAULT)\r
33 public class RequestList {\r
34 \r
35 \r
36         @JsonProperty("request")\r
37     protected Request request;\r
38         @JsonProperty("requestStatus")\r
39     protected RequestStatus requestStatus;\r
40 \r
41     /**\r
42      * Gets the value of the request property.\r
43      *\r
44      * @return\r
45      *     possible object is\r
46      *     {@link Request }\r
47      *\r
48      */\r
49     public Request getRequest() {\r
50         return request;\r
51     }\r
52 \r
53     /**\r
54      * Sets the value of the requestInfo property.\r
55      *\r
56      * @param value\r
57      *     allowed object is\r
58      *     {@link Request }\r
59      *\r
60      */\r
61     public void setRequest(Request value) {\r
62         this.request = value;\r
63     }\r
64 \r
65     /**\r
66      * Gets the value of the requestStatus property.\r
67      *\r
68      * @return\r
69      *     possible object is\r
70      *     {@link RequestStatus }\r
71      *\r
72      */\r
73     public RequestStatus getRequestStatus() {\r
74         return requestStatus;\r
75     }\r
76     \r
77 \r
78     /**\r
79      * Sets the value of the requestStatus property.\r
80      *\r
81      * @param value\r
82      *     allowed object is\r
83      *     {@link RequestStatus }\r
84      *\r
85      */\r
86     public void setRequestStatus(RequestStatus value) {\r
87         this.requestStatus = value;\r
88     }\r
89 \r
90 \r
91         @Override\r
92         public String toString() {\r
93                 return "RequestList [request=" + request + \r
94                                             ", requestStatus=" + requestStatus + "]";\r
95         }\r
96 }\r