Change the header to SO
[so.git] / mso-api-handlers / mso-api-handler-infra / src / main / java / org / openecomp / mso / apihandlerinfra / tasksbeans / RequestInfo.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.tasksbeans;\r
22 \r
23 import org.codehaus.jackson.map.annotate.JsonSerialize;\r
24 import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion;\r
25 \r
26 @JsonSerialize(include=JsonSerialize.Inclusion.NON_DEFAULT)\r
27 public class RequestInfo {\r
28 \r
29         protected String source;\r
30         protected ValidResponses responseValue;\r
31     protected String requestorId;\r
32    \r
33     /**\r
34      * Gets the value of the source property.\r
35      *\r
36      * @return\r
37      *     possible object is\r
38      *     {@link String }\r
39      *\r
40      */\r
41     public String getSource() {\r
42         return source;\r
43     }\r
44 \r
45     /**\r
46      * Sets the value of the source property.\r
47      *\r
48      * @param value\r
49      *     allowed object is\r
50      *     {@link String }\r
51      *\r
52      */\r
53     public void setSource(String value) {\r
54         this.source = value;\r
55     }\r
56 \r
57         public ValidResponses getResponseValue() {\r
58                 return responseValue;\r
59         }\r
60 \r
61         public void setResponseValue(ValidResponses responseValue) {\r
62                 this.responseValue = responseValue;\r
63         }\r
64 \r
65         \r
66         public String getRequestorId() {\r
67                 return requestorId;\r
68         }\r
69 \r
70         public void setRequestorId(String requestorId) {\r
71                 this.requestorId = requestorId;\r
72         }\r
73 \r
74 }\r