added generic fabric support to SO
[so.git] / common / src / main / java / org / onap / so / client / policy / entities / ConfigRequestParameters.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
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
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.so.client.policy.entities;
22
23 import java.util.HashMap;
24 import java.util.Map;
25
26 import com.fasterxml.jackson.annotation.JsonInclude;
27 import com.fasterxml.jackson.annotation.JsonProperty;
28 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
29
30 @JsonInclude(JsonInclude.Include.NON_NULL)
31 @JsonPropertyOrder({
32     "configAttributes",
33     "configName",
34     "ecompName",
35     "onapName",
36     "policyName",
37     "requestID",
38     "unique"
39 })
40 public class ConfigRequestParameters {
41
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;
56
57     @JsonProperty("configAttributes")
58     public Map<String, String> getConfigAttributes() {
59         return configAttributes;
60     }
61
62     @JsonProperty("configAttributes")
63     public void setConfigAttributes(Map<String, String> configAttributes) {
64         this.configAttributes = configAttributes;
65     }
66
67     @JsonProperty("configName")
68     public String getConfigName() {
69         return configName;
70     }
71
72     @JsonProperty("configName")
73     public void setConfigName(String configName) {
74         this.configName = configName;
75     }
76
77     @JsonProperty("ecompName")
78     public String getEcompName() {
79         return ecompName;
80     }
81
82     @JsonProperty("ecompName")
83     public void setEcompName(String ecompName) {
84         this.ecompName = ecompName;
85     }
86
87     @JsonProperty("onapName")
88     public String getOnapName() {
89         return onapName;
90     }
91
92     @JsonProperty("onapName")
93     public void setOnapName(String onapName) {
94         this.onapName = onapName;
95     }
96
97     @JsonProperty("policyName")
98     public String getPolicyName() {
99         return policyName;
100     }
101
102     @JsonProperty("policyName")
103     public void setPolicyName(String policyName) {
104         this.policyName = policyName;
105     }
106
107     @JsonProperty("requestID")
108     public String getRequestID() {
109         return requestID;
110     }
111
112     @JsonProperty("requestID")
113     public void setRequestID(String requestID) {
114         this.requestID = requestID;
115     }
116
117     @JsonProperty("unique")
118     public Boolean getUnique() {
119         return unique;
120     }
121
122     @JsonProperty("unique")
123     public void setUnique(Boolean unique) {
124         this.unique = unique;
125     }
126
127 }