| Package | Description |
|---|---|
| com.hubspot.slack.client.models.blocks | |
| com.hubspot.slack.client.models.blocks.elements | |
| com.hubspot.slack.client.models.blocks.objects |
| Modifier and Type | Method and Description |
|---|---|
Text |
Input.getLabel() |
Text |
InputIF.getLabel() |
Text |
Section.getText() |
Text |
SectionIF.getText() |
| Modifier and Type | Method and Description |
|---|---|
List<Text> |
Section.getFields() |
List<Text> |
SectionIF.getFields() |
Optional<Text> |
Input.getHint() |
Optional<Text> |
InputIF.getHint() |
Optional<Text> |
Image.getTitle() |
Optional<Text> |
ImageIF.getTitle() |
| Modifier and Type | Method and Description |
|---|---|
Section.Builder |
Section.Builder.addFields(Text... elements)
Adds elements to
fields list. |
Section.Builder |
Section.Builder.addFields(Text element)
Adds one element to
fields list. |
static Section |
Section.of(Text text)
Construct a new immutable
Section instance. |
static Input |
Input.of(Text label,
BlockElement element)
Construct a new immutable
Input instance. |
Input.Builder |
Input.Builder.setHint(Text hint)
Initializes the optional value
hint to hint. |
Input.Builder |
Input.Builder.setLabel(Text label)
Initializes the value for the
label attribute. |
Section.Builder |
Section.Builder.setText(Text text)
Initializes the value for the
text attribute. |
Image.Builder |
Image.Builder.setTitle(Text title)
Initializes the optional value
title to title. |
Section |
Section.withFields(Text... elements)
Copy the current immutable object with elements that replace the content of
fields. |
Input |
Input.withHint(Text value)
Copy the current immutable object by setting a present value for the optional
hint attribute. |
Input |
Input.withLabel(Text label)
Copy the current immutable object by setting a value for the
label attribute. |
Section |
Section.withText(Text text)
Copy the current immutable object by setting a value for the
text attribute. |
Image |
Image.withTitle(Text value)
Copy the current immutable object by setting a present value for the optional
title attribute. |
| Modifier and Type | Method and Description |
|---|---|
Section.Builder |
Section.Builder.addAllFields(Iterable<? extends Text> elements)
Adds elements to
fields list. |
Section.Builder |
Section.Builder.setFields(Iterable<? extends Text> elements)
Sets or replaces all elements for
fields list. |
Input.Builder |
Input.Builder.setHint(Optional<Text> hint)
Initializes the optional value
hint to hint. |
Image.Builder |
Image.Builder.setTitle(Optional<Text> title)
Initializes the optional value
title to title. |
Section |
Section.withFields(Iterable<? extends Text> elements)
Copy the current immutable object with elements that replace the content of
fields. |
Input |
Input.withHint(Optional<Text> optional)
Copy the current immutable object by setting an optional value for the
hint attribute. |
Image |
Image.withTitle(Optional<Text> optional)
Copy the current immutable object by setting an optional value for the
title attribute. |
| Modifier and Type | Method and Description |
|---|---|
Text |
ChannelSelectMenu.getPlaceholder() |
Text |
ConversationSelectMenu.getPlaceholder() |
Text |
ConversationsMultiSelectMenu.getPlaceholder() |
Text |
ExternalMultiSelectMenu.getPlaceholder() |
Text |
StaticMultiSelectMenu.getPlaceholder() |
Text |
UsersMultiSelectMenu.getPlaceholder() |
Text |
ChannelsMultiSelectMenu.getPlaceholder() |
Text |
ExternalSelectMenu.getPlaceholder() |
Text |
UserSelectMenu.getPlaceholder() |
Text |
StaticSelectMenu.getPlaceholder() |
Text |
UserSelectMenuIF.getPlaceholder() |
Text |
ExternalSelectMenuIF.getPlaceholder() |
Text |
StaticMultiSelectMenuIF.getPlaceholder() |
Text |
ChannelSelectMenuIF.getPlaceholder() |
Text |
ConversationSelectMenuIF.getPlaceholder() |
Text |
StaticSelectMenuIF.getPlaceholder() |
Text |
ExternalMultiSelectMenuIF.getPlaceholder() |
Text |
ChannelsMultiSelectMenuIF.getPlaceholder() |
Text |
UsersMultiSelectMenuIF.getPlaceholder() |
Text |
ConversationsMultiSelectMenuIF.getPlaceholder() |
Text |
Button.getText() |
Text |
ButtonIF.getText() |
| Modifier and Type | Method and Description |
|---|---|
Optional<Text> |
DatePicker.getPlaceholder() |
Optional<Text> |
PlainTextInput.getPlaceholder() |
Optional<Text> |
PlainTextInputIF.getPlaceholder() |
Optional<Text> |
DatePickerIF.getPlaceholder() |
| Modifier and Type | Method and Description |
|---|---|
static ChannelSelectMenu |
ChannelSelectMenu.of(Text placeholder,
String actionId)
Construct a new immutable
ChannelSelectMenu instance. |
static Button |
Button.of(Text text,
String actionId)
Construct a new immutable
Button instance. |
static ConversationSelectMenu |
ConversationSelectMenu.of(Text placeholder,
String actionId)
Construct a new immutable
ConversationSelectMenu instance. |
static ConversationsMultiSelectMenu |
ConversationsMultiSelectMenu.of(Text placeholder,
String actionId)
Construct a new immutable
ConversationsMultiSelectMenu instance. |
static ExternalMultiSelectMenu |
ExternalMultiSelectMenu.of(Text placeholder,
String actionId)
Construct a new immutable
ExternalMultiSelectMenu instance. |
static UsersMultiSelectMenu |
UsersMultiSelectMenu.of(Text placeholder,
String actionId)
Construct a new immutable
UsersMultiSelectMenu instance. |
static ChannelsMultiSelectMenu |
ChannelsMultiSelectMenu.of(Text placeholder,
String actionId)
Construct a new immutable
ChannelsMultiSelectMenu instance. |
static ExternalSelectMenu |
ExternalSelectMenu.of(Text placeholder,
String actionId)
Construct a new immutable
ExternalSelectMenu instance. |
static UserSelectMenu |
UserSelectMenu.of(Text placeholder,
String actionId)
Construct a new immutable
UserSelectMenu instance. |
static StaticMultiSelectMenu |
StaticMultiSelectMenu.of(Text placeholder,
String actionId,
Iterable<? extends Option> options)
Construct a new immutable
StaticMultiSelectMenu instance. |
static StaticSelectMenu |
StaticSelectMenu.of(Text placeholder,
String actionId,
Iterable<? extends Option> options)
Construct a new immutable
StaticSelectMenu instance. |
static StaticMultiSelectMenu |
StaticMultiSelectMenu.of(Text placeholder,
String actionId,
List<Option> options)
Construct a new immutable
StaticMultiSelectMenu instance. |
static StaticSelectMenu |
StaticSelectMenu.of(Text placeholder,
String actionId,
List<Option> options)
Construct a new immutable
StaticSelectMenu instance. |
ChannelSelectMenu.Builder |
ChannelSelectMenu.Builder.setPlaceholder(Text placeholder)
Initializes the value for the
placeholder attribute. |
ConversationSelectMenu.Builder |
ConversationSelectMenu.Builder.setPlaceholder(Text placeholder)
Initializes the value for the
placeholder attribute. |
DatePicker.Builder |
DatePicker.Builder.setPlaceholder(Text placeholder)
Initializes the optional value
placeholder to placeholder. |
ConversationsMultiSelectMenu.Builder |
ConversationsMultiSelectMenu.Builder.setPlaceholder(Text placeholder)
Initializes the value for the
placeholder attribute. |
ExternalMultiSelectMenu.Builder |
ExternalMultiSelectMenu.Builder.setPlaceholder(Text placeholder)
Initializes the value for the
placeholder attribute. |
StaticMultiSelectMenu.Builder |
StaticMultiSelectMenu.Builder.setPlaceholder(Text placeholder)
Initializes the value for the
placeholder attribute. |
UsersMultiSelectMenu.Builder |
UsersMultiSelectMenu.Builder.setPlaceholder(Text placeholder)
Initializes the value for the
placeholder attribute. |
ChannelsMultiSelectMenu.Builder |
ChannelsMultiSelectMenu.Builder.setPlaceholder(Text placeholder)
Initializes the value for the
placeholder attribute. |
ExternalSelectMenu.Builder |
ExternalSelectMenu.Builder.setPlaceholder(Text placeholder)
Initializes the value for the
placeholder attribute. |
UserSelectMenu.Builder |
UserSelectMenu.Builder.setPlaceholder(Text placeholder)
Initializes the value for the
placeholder attribute. |
StaticSelectMenu.Builder |
StaticSelectMenu.Builder.setPlaceholder(Text placeholder)
Initializes the value for the
placeholder attribute. |
PlainTextInput.Builder |
PlainTextInput.Builder.setPlaceholder(Text placeholder)
Initializes the optional value
placeholder to placeholder. |
Button.Builder |
Button.Builder.setText(Text text)
Initializes the value for the
text attribute. |
ChannelSelectMenu |
ChannelSelectMenu.withPlaceholder(Text placeholder)
Copy the current immutable object by setting a value for the
placeholder attribute. |
ConversationSelectMenu |
ConversationSelectMenu.withPlaceholder(Text placeholder)
Copy the current immutable object by setting a value for the
placeholder attribute. |
DatePicker |
DatePicker.withPlaceholder(Text value)
Copy the current immutable object by setting a present value for the optional
placeholder attribute. |
ConversationsMultiSelectMenu |
ConversationsMultiSelectMenu.withPlaceholder(Text placeholder)
Copy the current immutable object by setting a value for the
placeholder attribute. |
ExternalMultiSelectMenu |
ExternalMultiSelectMenu.withPlaceholder(Text placeholder)
Copy the current immutable object by setting a value for the
placeholder attribute. |
StaticMultiSelectMenu |
StaticMultiSelectMenu.withPlaceholder(Text placeholder)
Copy the current immutable object by setting a value for the
placeholder attribute. |
UsersMultiSelectMenu |
UsersMultiSelectMenu.withPlaceholder(Text placeholder)
Copy the current immutable object by setting a value for the
placeholder attribute. |
ChannelsMultiSelectMenu |
ChannelsMultiSelectMenu.withPlaceholder(Text placeholder)
Copy the current immutable object by setting a value for the
placeholder attribute. |
ExternalSelectMenu |
ExternalSelectMenu.withPlaceholder(Text placeholder)
Copy the current immutable object by setting a value for the
placeholder attribute. |
UserSelectMenu |
UserSelectMenu.withPlaceholder(Text placeholder)
Copy the current immutable object by setting a value for the
placeholder attribute. |
StaticSelectMenu |
StaticSelectMenu.withPlaceholder(Text placeholder)
Copy the current immutable object by setting a value for the
placeholder attribute. |
PlainTextInput |
PlainTextInput.withPlaceholder(Text value)
Copy the current immutable object by setting a present value for the optional
placeholder attribute. |
Button |
Button.withText(Text text)
Copy the current immutable object by setting a value for the
text attribute. |
| Modifier and Type | Method and Description |
|---|---|
DatePicker.Builder |
DatePicker.Builder.setPlaceholder(Optional<Text> placeholder)
Initializes the optional value
placeholder to placeholder. |
PlainTextInput.Builder |
PlainTextInput.Builder.setPlaceholder(Optional<Text> placeholder)
Initializes the optional value
placeholder to placeholder. |
DatePicker |
DatePicker.withPlaceholder(Optional<Text> optional)
Copy the current immutable object by setting an optional value for the
placeholder attribute. |
PlainTextInput |
PlainTextInput.withPlaceholder(Optional<Text> optional)
Copy the current immutable object by setting an optional value for the
placeholder attribute. |
| Modifier and Type | Method and Description |
|---|---|
Text |
Text.Builder.build()
Builds a new
Text. |
static Text |
Text.copyOf(TextIF instance)
Creates an immutable copy of a
TextIF value. |
Text |
ConfirmationDialog.getConfirmButtonText() |
Text |
ConfirmationDialogIF.getConfirmButtonText() |
Text |
ConfirmationDialog.getDenyButtonText() |
Text |
ConfirmationDialogIF.getDenyButtonText() |
Text |
OptionGroup.getLabel() |
Text |
OptionGroupIF.getLabel() |
Text |
Option.getText() |
Text |
ConfirmationDialog.getText() |
Text |
OptionIF.getText() |
Text |
ConfirmationDialogIF.getText() |
Text |
ConfirmationDialog.getTitle() |
Text |
ConfirmationDialogIF.getTitle() |
static Text |
Text.of(TextType type,
String text)
Construct a new immutable
Text instance. |
Text |
Text.withEmoji(Boolean value)
Copy the current immutable object by setting a present value for the optional
emoji attribute. |
Text |
Text.withEmoji(Optional<Boolean> optional)
Copy the current immutable object by setting an optional value for the
emoji attribute. |
Text |
Text.withText(String text)
Copy the current immutable object by setting a value for the
text attribute. |
Text |
Text.withType(TextType type)
Copy the current immutable object by setting a value for the
type attribute. |
Text |
Text.withVerbatim(Boolean value)
Copy the current immutable object by setting a present value for the optional
verbatim attribute. |
Text |
Text.withVerbatim(Optional<Boolean> optional)
Copy the current immutable object by setting an optional value for the
verbatim attribute. |
| Modifier and Type | Method and Description |
|---|---|
static OptionGroup |
OptionGroup.of(Text label,
Iterable<? extends Option> options)
Construct a new immutable
OptionGroup instance. |
static OptionGroup |
OptionGroup.of(Text label,
List<Option> options)
Construct a new immutable
OptionGroup instance. |
static Option |
Option.of(Text text,
String value)
Construct a new immutable
Option instance. |
static ConfirmationDialog |
ConfirmationDialog.of(Text title,
Text text,
Text confirmButtonText,
Text denyButtonText)
Construct a new immutable
ConfirmationDialog instance. |
ConfirmationDialog.Builder |
ConfirmationDialog.Builder.setConfirmButtonText(Text confirmButtonText)
Initializes the value for the
confirmButtonText attribute. |
ConfirmationDialog.Builder |
ConfirmationDialog.Builder.setDenyButtonText(Text denyButtonText)
Initializes the value for the
denyButtonText attribute. |
OptionGroup.Builder |
OptionGroup.Builder.setLabel(Text label)
Initializes the value for the
label attribute. |
Option.Builder |
Option.Builder.setText(Text text)
Initializes the value for the
text attribute. |
ConfirmationDialog.Builder |
ConfirmationDialog.Builder.setText(Text text)
Initializes the value for the
text attribute. |
ConfirmationDialog.Builder |
ConfirmationDialog.Builder.setTitle(Text title)
Initializes the value for the
title attribute. |
ConfirmationDialog |
ConfirmationDialog.withConfirmButtonText(Text confirmButtonText)
Copy the current immutable object by setting a value for the
confirmButtonText attribute. |
ConfirmationDialog |
ConfirmationDialog.withDenyButtonText(Text denyButtonText)
Copy the current immutable object by setting a value for the
denyButtonText attribute. |
OptionGroup |
OptionGroup.withLabel(Text label)
Copy the current immutable object by setting a value for the
label attribute. |
Option |
Option.withText(Text text)
Copy the current immutable object by setting a value for the
text attribute. |
ConfirmationDialog |
ConfirmationDialog.withText(Text text)
Copy the current immutable object by setting a value for the
text attribute. |
ConfirmationDialog |
ConfirmationDialog.withTitle(Text title)
Copy the current immutable object by setting a value for the
title attribute. |
Copyright © 2019. All rights reserved.