replace deprecated JsonSerialize.Inclusion
[appc.git] / appc-sequence-generator / appc-sequence-generator-bundle / src / main / java / org / onap / appc / seqgen / objects / PreCheckOption.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP : APPC
4  * ================================================================================
5  * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Copyright (C) 2017 Amdocs
8  * =============================================================================
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  *
13  *      http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  *
21  * ============LICENSE_END=========================================================
22  */
23
24 package org.onap.appc.seqgen.objects;
25
26 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
27 import com.fasterxml.jackson.annotation.JsonInclude;
28 import com.fasterxml.jackson.annotation.JsonProperty;
29
30 @JsonInclude(JsonInclude.Include.NON_NULL)
31 @JsonIgnoreProperties(ignoreUnknown = true)
32 public class PreCheckOption {
33
34     @JsonProperty("pre-transactionID")
35     private Integer preTransactionId;
36
37     @JsonProperty("param-name")
38     private String paramName;
39
40     @JsonProperty("param-value")
41     private String paramValue;
42
43     private String rule;
44
45
46     public Integer getPreTransactionId() {
47         return preTransactionId;
48     }
49
50     public void setPreTransactionId(Integer preTransactionId) {
51         this.preTransactionId = preTransactionId;
52     }
53
54     public String getParamName() {
55         return paramName;
56     }
57
58     public void setParamName(String paramName) {
59         this.paramName = paramName;
60     }
61
62     public String getParamValue() {
63         return paramValue;
64     }
65
66     public void setParamValue(String paramValue) {
67         this.paramValue = paramValue;
68     }
69
70     public String getRule() {
71         return rule;
72     }
73
74     public void setRule(String rule) {
75         this.rule = rule;
76     }
77 }