Containerization feature of SO
[so.git] / bpmn / MSOCommonBPMN / src / main / java / org / onap / so / bpmn / servicedecomposition / generalobjects / RequestContext.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.bpmn.servicedecomposition.generalobjects;
22
23 import java.io.Serializable;
24 import java.util.HashMap;
25
26 import com.fasterxml.jackson.annotation.JsonProperty;
27 import com.fasterxml.jackson.annotation.JsonRootName;
28
29 @JsonRootName("request-context")
30 public class RequestContext implements Serializable{
31         
32         private static final long serialVersionUID = -6482733428879732822L;
33
34         @JsonProperty("product-family-id")
35         private String productFamilyId;
36         @JsonProperty("source")
37         private String source;
38         @JsonProperty("requestor-id")
39         private String requestorId;
40         @JsonProperty("subscription-service-type")
41         private String subscriptionServiceType;
42         @JsonProperty("user-params")
43         private HashMap<String, String> userParams;
44         @JsonProperty("action")
45         private String action;
46         @JsonProperty("callback-url")
47         private String callbackURL;
48         @JsonProperty("service-uri")
49         private String serviceURI;
50         @JsonProperty("mso-request-id")
51         private String msoRequestId;
52         @JsonProperty("requestParameters")
53         private RequestParameters requestParameters;
54         
55         public String getServiceURI() {
56                 return serviceURI;
57         }
58         public void setServiceURI(String serviceURI) {
59                 this.serviceURI = serviceURI;
60         }
61         public String getProductFamilyId() {
62                 return productFamilyId;
63         }
64         public void setProductFamilyId(String productFamilyId) {
65                 this.productFamilyId = productFamilyId;
66         }
67         public String getSource() {
68                 return source;
69         }
70         public void setSource(String source) {
71                 this.source = source;
72         }
73         public String getRequestorId() {
74                 return requestorId;
75         }
76         public void setRequestorId(String requestorId) {
77                 this.requestorId = requestorId;
78         }
79         public String getSubscriptionServiceType() {
80                 return subscriptionServiceType;
81         }
82         public void setSubscriptionServiceType(String subscriptionServiceType) {
83                 this.subscriptionServiceType = subscriptionServiceType;
84         }
85         public HashMap<String, String> getUserParams() {
86                 return userParams;
87         }
88         public void setUserParams(HashMap<String, String> userParams) {
89                 this.userParams = userParams;
90         }
91         public String getAction() {
92                 return action;
93         }
94         public void setAction(String action) {
95                 this.action = action;
96         }
97         public String getCallbackURL() {
98                 return callbackURL;
99         }
100         public void setCallbackURL(String callbackURL) {
101                 this.callbackURL = callbackURL;
102         }
103         public String getMsoRequestId() {
104                 return msoRequestId;
105         }
106         public void setMsoRequestId(String msoRequestId) {
107                 this.msoRequestId = msoRequestId;
108         }
109         public RequestParameters getRequestParameters() {
110                 return requestParameters;
111         }
112         public void setRequestParameters(RequestParameters requestParameters) {
113                 this.requestParameters = requestParameters;
114         }
115 }