2021-01-05 13:22:04 +01:00
|
|
|
package eu.dnetlib.usagestats.sushilite.domain;
|
|
|
|
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Created by dpie on 28/10/2019.
|
|
|
|
*/
|
|
|
|
public class Alert {
|
|
|
|
private String dateTime;
|
|
|
|
private String alert;
|
|
|
|
|
|
|
|
public Alert() {
|
|
|
|
}
|
|
|
|
|
|
|
|
public Alert(String dateTime, String alert) {
|
|
|
|
this.dateTime = dateTime;
|
|
|
|
this.alert = alert;
|
|
|
|
}
|
|
|
|
|
|
|
|
@JsonProperty("Date_Time")
|
|
|
|
public String getDateTime() {
|
|
|
|
return dateTime;
|
|
|
|
}
|
|
|
|
|
|
|
|
@JsonProperty("Alert")
|
|
|
|
public String getAlert() {
|
|
|
|
return alert;
|
|
|
|
}
|
|
|
|
|
2023-03-27 11:34:53 +02:00
|
|
|
public void setAlert(String alert) {
|
|
|
|
this.alert = alert;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setDateTime(String dateTime) {
|
|
|
|
this.dateTime = dateTime;
|
|
|
|
}
|
2023-03-28 08:48:31 +02:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public String toString() {
|
|
|
|
return "Alert{" +
|
|
|
|
"dateTime='" + dateTime + '\'' +
|
|
|
|
", alert='" + alert + '\'' +
|
|
|
|
'}';
|
|
|
|
}
|
2021-01-05 13:22:04 +01:00
|
|
|
}
|