Replaced all tabs with spaces in java and pom.xml
[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.ArrayList;
25 import java.util.HashMap;
26 import java.util.List;
27 import java.util.Map;
28 import com.fasterxml.jackson.annotation.JsonProperty;
29 import com.fasterxml.jackson.annotation.JsonRootName;
30
31 @JsonRootName("request-context")
32 public class RequestContext implements Serializable {
33
34     private static final long serialVersionUID = -6482733428879732822L;
35
36     @JsonProperty("product-family-id")
37     private String productFamilyId;
38     @JsonProperty("source")
39     private String source;
40     @JsonProperty("requestor-id")
41     private String requestorId;
42     @JsonProperty("subscription-service-type")
43     private String subscriptionServiceType;
44     @JsonProperty("user-params")
45     private Map<String, Object> userParams = new HashMap<>();
46     @JsonProperty("action")
47     private String action;
48     @JsonProperty("callback-url")
49     private String callbackURL;
50     @JsonProperty("service-uri")
51     private String serviceURI;
52     @JsonProperty("mso-request-id")
53     private String msoRequestId;
54     @JsonProperty("requestParameters")
55     private RequestParameters requestParameters;
56     @JsonProperty("configurationParameters")
57     private List<Map<String, String>> configurationParameters = new ArrayList<>();
58
59     public String getServiceURI() {
60         return serviceURI;
61     }
62
63     public void setServiceURI(String serviceURI) {
64         this.serviceURI = serviceURI;
65     }
66
67     public String getProductFamilyId() {
68         return productFamilyId;
69     }
70
71     public void setProductFamilyId(String productFamilyId) {
72         this.productFamilyId = productFamilyId;
73     }
74
75     public String getSource() {
76         return source;
77     }
78
79     public void setSource(String source) {
80         this.source = source;
81     }
82
83     public String getRequestorId() {
84         return requestorId;
85     }
86
87     public void setRequestorId(String requestorId) {
88         this.requestorId = requestorId;
89     }
90
91     public String getSubscriptionServiceType() {
92         return subscriptionServiceType;
93     }
94
95     public void setSubscriptionServiceType(String subscriptionServiceType) {
96         this.subscriptionServiceType = subscriptionServiceType;
97     }
98
99     public Map<String, Object> getUserParams() {
100         return userParams;
101     }
102
103     public void setUserParams(Map<String, Object> userParams) {
104         this.userParams = userParams;
105     }
106
107     public String getAction() {
108         return action;
109     }
110
111     public void setAction(String action) {
112         this.action = action;
113     }
114
115     public String getCallbackURL() {
116         return callbackURL;
117     }
118
119     public void setCallbackURL(String callbackURL) {
120         this.callbackURL = callbackURL;
121     }
122
123     public String getMsoRequestId() {
124         return msoRequestId;
125     }
126
127     public void setMsoRequestId(String msoRequestId) {
128         this.msoRequestId = msoRequestId;
129     }
130
131     public RequestParameters getRequestParameters() {
132         return requestParameters;
133     }
134
135     public void setRequestParameters(RequestParameters requestParameters) {
136         this.requestParameters = requestParameters;
137     }
138
139     public List<Map<String, String>> getConfigurationParameters() {
140         return configurationParameters;
141     }
142
143     public void setConfigurationParameters(List<Map<String, String>> configurationParameters) {
144         this.configurationParameters = configurationParameters;
145     }
146 }