Skip to content

Commit

Permalink
SKYEDEN-3234 | Specify shorter names to be saved in json
Browse files Browse the repository at this point in the history
  • Loading branch information
questras committed Nov 27, 2024
1 parent ca4216f commit 8194321
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
import java.util.List;

public record InactiveTopic(
@JsonProperty String qualifiedTopicName,
@JsonProperty long lastPublishedMessageTimestampMs,
@JsonProperty List<Long> notificationTimestampsMs,
@JsonProperty boolean whitelisted) {
@JsonProperty("topic") String qualifiedTopicName,
@JsonProperty("lastPublishedTsMs") long lastPublishedMessageTimestampMs,
@JsonProperty("notificationTsMs") List<Long> notificationTimestampsMs,
@JsonProperty("whitelisted") boolean whitelisted) {

InactiveTopic notificationSent(Instant timestamp) {
List<Long> newNotificationTimestampsMs = new ArrayList<>(notificationTimestampsMs);
Expand Down

0 comments on commit 8194321

Please sign in to comment.