Skip to content

Commit

Permalink
Merge pull request #361 from HubSpot/slack-file-serialization
Browse files Browse the repository at this point in the history
Fix json serialization for slack_files
  • Loading branch information
pmusgrave authored Oct 17, 2024
2 parents fbb79fd + 5a43996 commit a94c2b0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -9,6 +10,7 @@
@Value.Immutable
@HubSpotStyle
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
@JsonInclude(JsonInclude.Include.NON_NULL)
public interface SlackFileObjectIF {
Optional<String> getUrl();
Optional<String> getId();
Expand Down

0 comments on commit a94c2b0

Please sign in to comment.