info.unterrainer.server.eliteserverdtos.jsons.EventJson Maven / Gradle / Ivy
package info.unterrainer.server.eliteserverdtos.jsons;
import java.time.LocalDateTime;
import info.unterrainer.commons.serialization.jsons.BasicJson;
import info.unterrainer.server.eliteserverdtos.enums.AlarmSeverity;
import info.unterrainer.server.eliteserverdtos.enums.EventSeries;
import info.unterrainer.server.eliteserverdtos.enums.EventType;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
@Data
@NoArgsConstructor
@SuperBuilder(toBuilder = true)
@EqualsAndHashCode(callSuper = true)
public class EventJson extends BasicJson {
private String name;
private EventType type;
private String startsOnLocalTime;
private String endsOnLocalTime;
private LocalDateTime startsOn;
private LocalDateTime endsOn;
private EventSeries eventSeries;
private Integer seriesCount;
private LocalDateTime seriesIsDoneUntil;
private LocalDateTime seriesEndsOn;
private String text;
private Boolean isOpen;
private AlarmSeverity emittedIncidentSeverity;
private String emittedIncidentMessageLocKey;
private Long minutesUntilYellow;
private Long minutesUntilRed;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy