e97b94dbacd440463aa68e4998d334dee7447275
[holmes/rule-management.git] / rulemgt / src / main / java / org / onap / holmes / rulemgt / bean / response / RuleResult4API.java
1 /**\r
2  * Copyright 2017 ZTE Corporation.\r
3  *\r
4  * Licensed under the Apache License, Version 2.0 (the "License");\r
5  * you may not use this file except in compliance with the License.\r
6  * You may obtain a copy of the License at\r
7  *\r
8  *     http://www.apache.org/licenses/LICENSE-2.0\r
9  *\r
10  * Unless required by applicable law or agreed to in writing, software\r
11  * distributed under the License is distributed on an "AS IS" BASIS,\r
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
13  * See the License for the specific language governing permissions and\r
14  * limitations under the License.\r
15  */\r
16 package org.onap.holmes.rulemgt.bean.response;\r
17 \r
18 import com.fasterxml.jackson.annotation.JsonInclude;\r
19 import com.fasterxml.jackson.annotation.JsonProperty;\r
20 import lombok.Getter;\r
21 import lombok.Setter;\r
22 \r
23 import java.util.Date;\r
24 \r
25 @JsonInclude(JsonInclude.Include.ALWAYS)\r
26 @Setter\r
27 @Getter\r
28 public class RuleResult4API {\r
29     @JsonProperty(value = "ruleid")\r
30     private String ruleId;\r
31     @JsonProperty(value = "rulename")\r
32     private String ruleName;\r
33     private String description;\r
34     private String content;\r
35     @JsonProperty(value = "createtime")\r
36     private Date createTime;\r
37     private String creator;\r
38     @JsonProperty(value = "updatetime")\r
39     private Date updateTime;\r
40     private String modifier;\r
41     private int enabled;\r
42     @JsonProperty(value = "loopcontrolname")\r
43     private String closedControlLoopName;\r
44 }\r