2 * Copyright (c) 2019 AT&T Intellectual Property. All rights reserved.
4 * Licensed under the Apache License, Version 2.0 (the "License"); you may
5 * not use this file except in compliance with the License. You may obtain
6 * a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
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
13 * implied. See the License for the specific language governing
14 * permissions and limitations under the License.
16 package org.akraino.validation.ui.client.nexus.resources;
18 import java.util.List;
20 import org.codehaus.jackson.annotate.JsonIgnoreProperties;
21 import org.codehaus.jackson.annotate.JsonProperty;
22 import org.codehaus.jackson.map.annotate.JsonSerialize;
24 @JsonIgnoreProperties(ignoreUnknown = true)
25 @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
36 @JsonProperty("status")
37 private Test.Status status;
46 public String getDoc() {
50 public void setDoc(String doc) {
54 public String getId() {
58 public void setId(String id) {
62 public String getName() {
66 public void setName(String name) {
70 public Test.Status getStatus() {
74 public void setStatus(Test.Status status) {
78 public List<Kw> getKw() {
82 public void setKw(List<Kw> kw) {
87 @JsonProperty("status")
88 private String status;
90 @JsonProperty("starttime")
91 private String starttime;
93 @JsonProperty("endtime")
94 private String endtime;
96 @JsonProperty("critical")
97 private String critical;
99 @JsonProperty("content")
100 private String content;
106 public String getStatus() {
110 public void setStatus(String status) {
111 this.status = status;
114 public String getStarttime() {
115 return this.starttime;
118 public void setStarttime(String starttime) {
119 this.starttime = starttime;
122 public String getEndtime() {
126 public void setEndtime(String endtime) {
127 this.endtime = endtime;
130 public String getCritical() {
131 return this.critical;
134 public void setCritical(String critical) {
135 this.critical = critical;
138 public String getContent() {
142 public void setContent(String content) {
143 this.content = content;