1 package de.dlr.shepard.influxDB;
2
3 import com.fasterxml.jackson.annotation.JsonProperty;
4 import lombok.AllArgsConstructor;
5 import lombok.Data;
6 import lombok.NoArgsConstructor;
7 import org.eclipse.microprofile.openapi.annotations.media.Schema;
8
9
10
11
12
13 @Data
14 @AllArgsConstructor
15 @NoArgsConstructor
16 public class InfluxPoint {
17
18 @JsonProperty("timestamp")
19 @Schema(description = "Time in nanoseconds since epoch")
20 private long timeInNanoseconds;
21
22
23
24
25
26 @Schema(description = "A string, a number or a boolean")
27 private Object value;
28 }