in src/main/java/com/spotify/ffwd/http/model/v1/Batch.java [64:73]
public static Point create(
@JsonProperty("key") final String key,
@JsonProperty("tags") final Optional<Map<String, String>> tags,
@JsonProperty("resource") final Optional<Map<String, String>> resource,
@JsonProperty("value") final double value,
@JsonProperty("timestamp") final long timestamp
) {
return new Point(key, tags.orElseGet(ImmutableMap::of),
resource.orElseGet(ImmutableMap::of), value, timestamp);
}