UI initial implementation.
[validation.git] / ui / src / main / java / org / akraino / validation / ui / client / nexus / resources / Status.java
1 /*
2  * Copyright (c) 2019 AT&T Intellectual Property. All rights reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *        http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 package org.akraino.validation.ui.client.nexus.resources;
17
18 import org.codehaus.jackson.annotate.JsonIgnoreProperties;
19 import org.codehaus.jackson.annotate.JsonProperty;
20 import org.codehaus.jackson.map.annotate.JsonSerialize;
21
22 @JsonIgnoreProperties(ignoreUnknown = true)
23 @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
24 public class Status {
25     @JsonProperty("fail")
26     private int fail;
27
28     @JsonProperty("pass")
29     private int pass;
30
31     @JsonProperty("name")
32     private String name;
33
34     @JsonProperty("content")
35     private String content;
36
37     public Status() {
38
39     }
40
41     public int getFail() {
42         return this.fail;
43     }
44
45     public void setFail(int fail) {
46         this.fail = fail;
47     }
48
49     public int getPass() {
50         return this.pass;
51     }
52
53     public void setPass(int pass) {
54         this.pass = pass;
55     }
56
57     public String getName() {
58         return this.name;
59     }
60
61     public void setName(String name) {
62         this.name = name;
63     }
64
65     public String getContent() {
66         return this.content;
67     }
68
69     public void setContent(String content) {
70         this.content = content;
71     }
72 }