Merge "[RECV-94] Separate docker/robot invoking"
[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 @JsonIgnoreProperties(ignoreUnknown = true)
25 @JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
26 public class Kw {
27     @JsonProperty("name")
28     private String name;
29
30     @JsonProperty("type")
31     private String type;
32
33     @JsonProperty("library")
34     private String library;
35
36     @JsonProperty("doc")
37     private String doc;
38
39     @JsonProperty("status")
40     private Kw.Status status;
41
42     @JsonProperty("kw")
43     private List<Kw> kw;
44
45     public Kw() {
46
47     }
48
49     public String getName() {
50         return this.name;
51     }
52
53     public void setName(String name) {
54         this.name = name;
55     }
56
57     public String getType() {
58         return this.type;
59     }
60
61     public void setType(String type) {
62         this.type = type;
63     }
64
65     public String getLibrary() {
66         return this.library;
67     }
68
69     public void setLibrary(String library) {
70         this.library = library;
71     }
72
73     public String getDoc() {
74         return this.doc;
75     }
76
77     public void setDoc(String doc) {
78         this.doc = doc;
79     }
80
81     public Kw.Status getStatus() {
82         return this.status;
83     }
84
85     public void setStatus(Kw.Status status) {
86         this.status = status;
87     }
88
89     public List<Kw> getKw() {
90         return this.kw;
91     }
92
93     public void setKw(List<Kw> kw) {
94         this.kw = kw;
95     }
96
97     public class Status {
98         @JsonProperty("endtime")
99         private String endtime;
100
101         @JsonProperty("starttime")
102         private String starttime;
103
104         @JsonProperty("status")
105         private String status;
106
107         public Status() {
108
109         }
110
111         public String getEndtime() {
112             return this.endtime;
113         }
114
115         public void setEndtime(String endtime) {
116             this.endtime = endtime;
117         }
118
119         public String getStarttime() {
120             return this.starttime;
121         }
122
123         public void setStarttime(String starttime) {
124             this.starttime = starttime;
125         }
126
127         public String getStatus() {
128             return this.status;
129         }
130
131         public void setStatus(String status) {
132             this.status = status;
133         }
134     }
135
136 }