Merge "Add debugging of REST call"
[policy/drools-applications.git] / controlloop / common / model-impl / so / src / main / java / org / onap / policy / so / SoRequestParameters.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * so
4  * ================================================================================
5  * Copyright (C) 2017-2019 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.policy.so;
22
23 import com.google.gson.annotations.SerializedName;
24
25 import java.io.Serializable;
26 import java.util.LinkedList;
27 import java.util.List;
28 import java.util.Map;
29
30 public class SoRequestParameters implements Serializable {
31
32     private static final long serialVersionUID = -3283942659786236033L;
33
34     @SerializedName("subscriptionServiceType")
35     private String subscriptionServiceType;
36
37     @SerializedName("usePreload")
38     private boolean usePreload;
39
40     @SerializedName("userParams")
41     private List<Map<String, String>> userParams = new LinkedList<>();
42
43     public SoRequestParameters() {
44         // required by author
45     }
46
47     public String getSubscriptionServiceType() {
48         return subscriptionServiceType;
49     }
50
51     public boolean isUsePreload() {
52         return usePreload;
53     }
54
55     public List<Map<String, String>> getUserParams() {
56         return userParams;
57     }
58
59     public void setSubscriptionServiceType(String subscriptionServiceType) {
60         this.subscriptionServiceType = subscriptionServiceType;
61     }
62
63     public void setUsePreload(boolean usePreload) {
64         this.usePreload = usePreload;
65     }
66
67     public void setUserParams(List<Map<String, String>> userParams) {
68         this.userParams = userParams;
69     }
70
71 }