2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 - 2018 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.client.policy.entities;
23 import java.util.HashMap;
26 import com.fasterxml.jackson.annotation.JsonInclude;
27 import com.fasterxml.jackson.annotation.JsonProperty;
28 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
30 @JsonInclude(JsonInclude.Include.NON_NULL)
40 public class ConfigRequestParameters {
42 @JsonProperty("configAttributes")
43 private Map<String, String> configAttributes = new HashMap<>();
44 @JsonProperty("configName")
45 private String configName;
46 @JsonProperty("ecompName")
47 private String ecompName;
48 @JsonProperty("onapName")
49 private String onapName;
50 @JsonProperty("policyName")
51 private String policyName;
52 @JsonProperty("requestID")
53 private String requestID;
54 @JsonProperty("unique")
55 private Boolean unique;
57 @JsonProperty("configAttributes")
58 public Map<String, String> getConfigAttributes() {
59 return configAttributes;
62 @JsonProperty("configAttributes")
63 public void setConfigAttributes(Map<String, String> configAttributes) {
64 this.configAttributes = configAttributes;
67 @JsonProperty("configName")
68 public String getConfigName() {
72 @JsonProperty("configName")
73 public void setConfigName(String configName) {
74 this.configName = configName;
77 @JsonProperty("ecompName")
78 public String getEcompName() {
82 @JsonProperty("ecompName")
83 public void setEcompName(String ecompName) {
84 this.ecompName = ecompName;
87 @JsonProperty("onapName")
88 public String getOnapName() {
92 @JsonProperty("onapName")
93 public void setOnapName(String onapName) {
94 this.onapName = onapName;
97 @JsonProperty("policyName")
98 public String getPolicyName() {
102 @JsonProperty("policyName")
103 public void setPolicyName(String policyName) {
104 this.policyName = policyName;
107 @JsonProperty("requestID")
108 public String getRequestID() {
112 @JsonProperty("requestID")
113 public void setRequestID(String requestID) {
114 this.requestID = requestID;
117 @JsonProperty("unique")
118 public Boolean getUnique() {
122 @JsonProperty("unique")
123 public void setUnique(Boolean unique) {
124 this.unique = unique;