File tree Expand file tree Collapse file tree 1 file changed +6
-13
lines changed
slack-api-model/src/main/java/com/slack/api/model Expand file tree Collapse file tree 1 file changed +6
-13
lines changed Original file line number Diff line number Diff line change 22
33import com .google .gson .JsonElement ;
44import com .google .gson .annotations .SerializedName ;
5+ import com .slack .api .model .block .composition .PlainTextObject ;
6+ import com .slack .api .model .block .composition .TextObject ;
7+
58import lombok .*;
69
710@ Data
@@ -286,8 +289,8 @@ public static class SlackFile {
286289 @ AllArgsConstructor
287290 public static class Edit {
288291 private Boolean enabled ;
289- private PlainText placeholder ;
290- private PlainText hint ;
292+ private PlainTextObject placeholder ;
293+ private PlainTextObject hint ;
291294 private Boolean optional ;
292295 private Select select ;
293296 private Number number ;
@@ -300,7 +303,7 @@ public static class Edit {
300303 public static class Select {
301304 private String currentValue ;
302305 private String [] currentValues ;
303- private Object [] staticOptions ;
306+ private TextObject [] staticOptions ;
304307 private Boolean fetchOptionsDynamically ;
305308 private Integer minQueryLength ;
306309 }
@@ -323,16 +326,6 @@ public static class Text {
323326 private Integer minLength ;
324327 private Integer maxLength ;
325328 }
326-
327- @ Data
328- @ Builder
329- @ NoArgsConstructor
330- @ AllArgsConstructor
331- public static class PlainText {
332- private String type ;
333- private String text ;
334- private Boolean emoji ;
335- }
336329 }
337330
338331 @ Data
You can’t perform that action at this time.
0 commit comments