Convert tabs to spaces
[ccsdk/sli/adaptors.git] / aai-service / provider / src / main / java / org / openecomp / sdnc / sli / aai / data / notify / KeyDatum.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * openECOMP : SDN-C
4  * ================================================================================
5  * Copyright (C) 2017 ONAP Intellectual Property. All rights
6  *                                              reserved.
7  * ================================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  * 
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  * 
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END=========================================================
20  */
21
22 package org.openecomp.sdnc.sli.aai.data.notify;
23
24 import java.util.HashMap;
25 import java.util.Map;
26 import javax.annotation.Generated;
27 import com.fasterxml.jackson.annotation.JsonAnyGetter;
28 import com.fasterxml.jackson.annotation.JsonAnySetter;
29 import com.fasterxml.jackson.annotation.JsonIgnore;
30 import com.fasterxml.jackson.annotation.JsonInclude;
31 import com.fasterxml.jackson.annotation.JsonProperty;
32 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
33
34 @JsonInclude(JsonInclude.Include.NON_NULL)
35 @Generated("org.jsonschema2pojo")
36 @JsonPropertyOrder({
37     "key-name",
38     "key-value"
39 })
40 public class KeyDatum {
41
42     @JsonProperty("key-name")
43     private String keyName;
44     @JsonProperty("key-value")
45     private String keyValue;
46     @JsonIgnore
47     private Map<String, Object> additionalProperties = new HashMap<String, Object>();
48
49     /**
50      * 
51      * @return
52      *     The keyName
53      */
54     @JsonProperty("key-name")
55     public String getKeyName() {
56         return keyName;
57     }
58
59     /**
60      * 
61      * @param keyName
62      *     The key-name
63      */
64     @JsonProperty("key-name")
65     public void setKeyName(String keyName) {
66         this.keyName = keyName;
67     }
68
69     /**
70      * 
71      * @return
72      *     The keyValue
73      */
74     @JsonProperty("key-value")
75     public String getKeyValue() {
76         return keyValue;
77     }
78
79     /**
80      * 
81      * @param keyValue
82      *     The key-value
83      */
84     @JsonProperty("key-value")
85     public void setKeyValue(String keyValue) {
86         this.keyValue = keyValue;
87     }
88
89     @JsonAnyGetter
90     public Map<String, Object> getAdditionalProperties() {
91         return this.additionalProperties;
92     }
93
94     @JsonAnySetter
95     public void setAdditionalProperty(String name, Object value) {
96         this.additionalProperties.put(name, value);
97     }
98
99 }