2 * ============LICENSE_START=======================================================
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
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.policy.so;
23 import com.google.gson.annotations.SerializedName;
25 import java.io.Serializable;
26 import java.util.LinkedList;
27 import java.util.List;
30 public class SoRequestParameters implements Serializable {
32 private static final long serialVersionUID = -3283942659786236033L;
34 @SerializedName("subscriptionServiceType")
35 private String subscriptionServiceType;
37 @SerializedName("usePreload")
38 private boolean usePreload;
40 @SerializedName("userParams")
41 private List<Map<String, String>> userParams = new LinkedList<>();
43 public SoRequestParameters() {
47 public String getSubscriptionServiceType() {
48 return subscriptionServiceType;
51 public boolean isUsePreload() {
55 public List<Map<String, String>> getUserParams() {
59 public void setSubscriptionServiceType(String subscriptionServiceType) {
60 this.subscriptionServiceType = subscriptionServiceType;
63 public void setUsePreload(boolean usePreload) {
64 this.usePreload = usePreload;
67 public void setUserParams(List<Map<String, String>> userParams) {
68 this.userParams = userParams;