1 package de.dlr.shepard.influxDB; 2 3 import jakarta.validation.constraints.NotEmpty; 4 import jakarta.validation.constraints.NotNull; 5 import java.util.ArrayList; 6 import java.util.List; 7 import lombok.AllArgsConstructor; 8 import lombok.Data; 9 import lombok.NoArgsConstructor; 10 11 @Data 12 @AllArgsConstructor 13 @NoArgsConstructor 14 public class TimeseriesPayload { 15 16 @NotNull 17 private Timeseries timeseries; 18 19 @NotEmpty 20 private List<InfluxPoint> points = new ArrayList<>(); 21 }