9035f4d506c25d270379c5877375bbcabb32b335
[so.git] / bpmn / MSOCommonBPMN / src / main / java / org / onap / so / bpmn / appc / payload / beans / ConfigScaleOutPayload.java
1 /* ============LICENSE_START=======================================================
2  * ONAP - SO
3  * ================================================================================
4  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
5  * ================================================================================
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  *      http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  * ============LICENSE_END=========================================================
18  */
19
20 package org.onap.so.bpmn.appc.payload.beans;
21
22 import java.util.HashMap;
23 import java.util.Map;
24
25 import com.fasterxml.jackson.annotation.JsonProperty;
26
27 public class ConfigScaleOutPayload {
28
29         @JsonProperty("request-parameters")
30         private RequestParametersConfigScaleOut requestParameters;
31         @JsonProperty("configuration-parameters")
32         private Map<String, String> configurationParameters = new HashMap<>();
33
34         public RequestParametersConfigScaleOut getRequestParameters() {
35                 return requestParameters;
36         }
37         
38         public void setRequestParameters(RequestParametersConfigScaleOut requestParameters) {
39                 this.requestParameters = requestParameters;
40         }
41         
42         public Map<String, String> getConfigurationParameters() {
43                 return configurationParameters;
44         }
45
46         public void setConfigurationParameters(Map<String, String> configurationParameters) {
47                 this.configurationParameters = configurationParameters;
48         }
49
50         @Override
51         public String toString() {
52                 final StringBuilder sb = new StringBuilder("ConfigScaleOutPayload{");
53                 sb.append("requestParameters=").append(requestParameters);
54                 sb.append(", configurationParameters='").append(configurationParameters);
55                 sb.append('}');
56                 return sb.toString();
57         }
58 }