Update license and poms
[aai/sparky-be.git] / sparkybe-onap-service / src / main / java / org / onap / aai / sparky / search / filters / config / UiFilterOptionsValuesConfig.java
1 /**
2  * ============LICENSE_START=======================================================
3  * org.onap.aai
4  * ================================================================================
5  * Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
6  * Copyright © 2017-2018 Amdocs
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 package org.onap.aai.sparky.search.filters.config;
22
23 import com.fasterxml.jackson.annotation.JsonCreator;
24 import com.fasterxml.jackson.annotation.JsonInclude;
25 import com.fasterxml.jackson.annotation.JsonInclude.Include;
26 import com.fasterxml.jackson.annotation.JsonProperty;
27
28 @JsonInclude(Include.NON_NULL)
29 public class UiFilterOptionsValuesConfig {
30   @JsonProperty("decode")
31   private String decode;
32   
33   @JsonProperty("code")
34   private String code;
35   
36   @JsonCreator
37   public UiFilterOptionsValuesConfig(@JsonProperty("decode") final String decode, @JsonProperty("code") final String code) {
38     this.decode = decode;
39     this.code = code;
40   }
41
42   @JsonProperty("decode")
43   public String getDecode() {
44     return decode;
45   }
46
47   public void setDecode(String decode) {
48     this.decode = decode;
49   }
50
51   @JsonProperty("code")
52   public String getCode() {
53     return code;
54   }
55
56   public void setCode(String code) {
57     this.code = code;
58   }
59
60   @Override
61   public String toString() {
62     return "UiFilterOptionsValuesConfig [decode=" + decode + ", code=" + code + "]";
63   }
64 }