diff --git a/slack-base/src/main/java/com/hubspot/slack/client/models/blocks/SlackFileObjectIF.java b/slack-base/src/main/java/com/hubspot/slack/client/models/blocks/SlackFileObjectIF.java index 9588a891..1d3a6882 100644 --- a/slack-base/src/main/java/com/hubspot/slack/client/models/blocks/SlackFileObjectIF.java +++ b/slack-base/src/main/java/com/hubspot/slack/client/models/blocks/SlackFileObjectIF.java @@ -1,5 +1,6 @@ package com.hubspot.slack.client.models.blocks; +import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.databind.PropertyNamingStrategies; import com.fasterxml.jackson.databind.annotation.JsonNaming; import com.hubspot.immutables.style.HubSpotStyle; @@ -9,6 +10,7 @@ @Value.Immutable @HubSpotStyle @JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class) +@JsonInclude(JsonInclude.Include.NON_NULL) public interface SlackFileObjectIF { Optional getUrl(); Optional getId();