2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.onap.so.bpmn.servicedecomposition.generalobjects;
23 import java.io.Serializable;
24 import java.util.HashMap;
26 import com.fasterxml.jackson.annotation.JsonProperty;
27 import com.fasterxml.jackson.annotation.JsonRootName;
29 @JsonRootName("request-context")
30 public class RequestContext implements Serializable{
32 private static final long serialVersionUID = -6482733428879732822L;
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;
55 public String getServiceURI() {
58 public void setServiceURI(String serviceURI) {
59 this.serviceURI = serviceURI;
61 public String getProductFamilyId() {
62 return productFamilyId;
64 public void setProductFamilyId(String productFamilyId) {
65 this.productFamilyId = productFamilyId;
67 public String getSource() {
70 public void setSource(String source) {
73 public String getRequestorId() {
76 public void setRequestorId(String requestorId) {
77 this.requestorId = requestorId;
79 public String getSubscriptionServiceType() {
80 return subscriptionServiceType;
82 public void setSubscriptionServiceType(String subscriptionServiceType) {
83 this.subscriptionServiceType = subscriptionServiceType;
85 public HashMap<String, String> getUserParams() {
88 public void setUserParams(HashMap<String, String> userParams) {
89 this.userParams = userParams;
91 public String getAction() {
94 public void setAction(String action) {
97 public String getCallbackURL() {
100 public void setCallbackURL(String callbackURL) {
101 this.callbackURL = callbackURL;
103 public String getMsoRequestId() {
106 public void setMsoRequestId(String msoRequestId) {
107 this.msoRequestId = msoRequestId;
109 public RequestParameters getRequestParameters() {
110 return requestParameters;
112 public void setRequestParameters(RequestParameters requestParameters) {
113 this.requestParameters = requestParameters;