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