From 7fd8480fa30f9d8d3c8c3279eaf040394f5bcc3f Mon Sep 17 00:00:00 2001 From: nliutyi Date: Wed, 16 Nov 2022 20:22:20 +0200 Subject: [PATCH] Make the unicode field optional. --- .../hubspot/slack/client/models/blocks/messages/EmojiIF.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/slack-base/src/main/java/com/hubspot/slack/client/models/blocks/messages/EmojiIF.java b/slack-base/src/main/java/com/hubspot/slack/client/models/blocks/messages/EmojiIF.java index 3500943c..692af431 100644 --- a/slack-base/src/main/java/com/hubspot/slack/client/models/blocks/messages/EmojiIF.java +++ b/slack-base/src/main/java/com/hubspot/slack/client/models/blocks/messages/EmojiIF.java @@ -5,6 +5,8 @@ import com.hubspot.immutables.style.HubSpotStyle; import org.immutables.value.Value; +import java.util.Optional; + @Value.Immutable @HubSpotStyle @JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class) @@ -19,5 +21,5 @@ default String getType() { String getName(); - String getUnicode(); + Optional getUnicode(); }