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