Fix Sonobuoy systemd-image for k8 1.18
[validation.git] / ui / src / main / java / org / akraino / validation / ui / client / nexus / resources / Kw.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"); you may
5  * not use this file except in compliance with the License. You may obtain
6  * 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
13  * implied. See the License for the specific language governing
14  * permissions and limitations under the License.
15  */
16 package org.akraino.validation.ui.client.nexus.resources;
17
18 import java.util.List;
19
20 import org.codehaus.jackson.annotate.JsonIgnoreProperties;
21 import org.codehaus.jackson.annotate.JsonProperty;
22 import org.codehaus.jackson.map.annotate.JsonSerialize;
23
24 import com.fasterxml.jackson.databind.JsonNode;
25
26 @JsonIgnoreProperties(ignoreUnknown = true)
27 @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
28 public class Kw {
29     @JsonProperty("name")
30     private String name;
31
32     @JsonProperty("type")
33     private String type;
34
35     @JsonProperty("library")
36     private String library;
37
38     @JsonProperty("doc")
39     private String doc;
40
41     @JsonProperty("status")
42     private Kw.Status status;
43
44     @JsonProperty("kw")
45     private List<Kw> kw;
46
47     @JsonProperty("arguments")
48     private Kw.Arguments arguments;
49
50     @JsonProperty("msg")
51     private JsonNode msg;
52
53     public Kw() {
54
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 getType() {
66         return this.type;
67     }
68
69     public void setType(String type) {
70         this.type = type;
71     }
72
73     public String getLibrary() {
74         return this.library;
75     }
76
77     public void setLibrary(String library) {
78         this.library = library;
79     }
80
81     public String getDoc() {
82         return this.doc;
83     }
84
85     public void setDoc(String doc) {
86         this.doc = doc;
87     }
88
89     public Kw.Status getStatus() {
90         return this.status;
91     }
92
93     public void setStatus(Kw.Status status) {
94         this.status = status;
95     }
96
97     public List<Kw> getKw() {
98         return this.kw;
99     }
100
101     public void setKw(List<Kw> kw) {
102         this.kw = kw;
103     }
104
105     public Kw.Arguments getArguments() {
106         return this.arguments;
107     }
108
109     public void setArguments(Kw.Arguments arguments) {
110         this.arguments = arguments;
111     }
112
113     public JsonNode getMsg() {
114         return this.msg;
115     }
116
117     public void setMsg(JsonNode msg) {
118         this.msg = msg;
119     }
120
121     public class Status {
122         @JsonProperty("endtime")
123         private String endtime;
124
125         @JsonProperty("starttime")
126         private String starttime;
127
128         @JsonProperty("status")
129         private String status;
130
131         public Status() {
132
133         }
134
135         public String getEndtime() {
136             return this.endtime;
137         }
138
139         public void setEndtime(String endtime) {
140             this.endtime = endtime;
141         }
142
143         public String getStarttime() {
144             return this.starttime;
145         }
146
147         public void setStarttime(String starttime) {
148             this.starttime = starttime;
149         }
150
151         public String getStatus() {
152             return this.status;
153         }
154
155         public void setStatus(String status) {
156             this.status = status;
157         }
158     }
159
160     public class Arguments {
161         @JsonProperty("arg")
162         private List<String> arg;
163
164         public Arguments() {
165
166         }
167
168         public List<String> getArg() {
169             return this.arg;
170         }
171
172         public void setArg(List<String> arg) {
173             this.arg = arg;
174         }
175     }
176
177 }