| Package | Description |
|---|---|
| com.slack.api.model.block.composition |
The classes representing the Slack core objects such as conversations, messages, users, blocks, and surfaces.
|
| com.slack.api.model.block.element |
The classes representing the Slack core objects such as conversations, messages, users, blocks, and surfaces.
|
| Modifier and Type | Method and Description |
|---|---|
OptionObject |
OptionObject.OptionObjectBuilder.build() |
static OptionObject |
BlockCompositions.option(ModelConfigurator<OptionObject.OptionObjectBuilder> configurator) |
static OptionObject |
BlockCompositions.option(TextObject text,
String value) |
| Modifier and Type | Method and Description |
|---|---|
static List<OptionObject> |
BlockCompositions.asOptions(OptionObject... options) |
List<OptionObject> |
OptionGroupObject.getOptions() |
| Modifier and Type | Method and Description |
|---|---|
static List<OptionObject> |
BlockCompositions.asOptions(OptionObject... options) |
| Modifier and Type | Method and Description |
|---|---|
OptionGroupObject.OptionGroupObjectBuilder |
OptionGroupObject.OptionGroupObjectBuilder.options(List<OptionObject> options) |
void |
OptionGroupObject.setOptions(List<OptionObject> options) |
| Constructor and Description |
|---|
OptionGroupObject(PlainTextObject label,
List<OptionObject> options) |
| Modifier and Type | Method and Description |
|---|---|
OptionObject |
StaticSelectElement.getInitialOption() |
OptionObject |
RadioButtonsElement.getInitialOption()
An option object that exactly matches one of the options within options.
|
OptionObject |
ExternalSelectElement.getInitialOption()
A single option that exactly matches one of the options within the options or
option_groups loaded from the external data source.
|
| Modifier and Type | Method and Description |
|---|---|
List<OptionObject> |
MultiExternalSelectElement.getInitialOptions()
An array of option objects that exactly match one or more of the options within options or option_groups.
|
List<OptionObject> |
CheckboxesElement.getInitialOptions()
An array of option objects that exactly matches one or more of the options within options.
|
List<OptionObject> |
MultiStaticSelectElement.getInitialOptions()
An array of option objects that exactly match one or more of the options within options or option_groups.
|
List<OptionObject> |
StaticSelectElement.getOptions()
An array of option objects.
|
List<OptionObject> |
CheckboxesElement.getOptions()
An array of option objects.
|
List<OptionObject> |
RadioButtonsElement.getOptions()
An array of option objects.
|
List<OptionObject> |
MultiStaticSelectElement.getOptions()
An array of option objects.
|
List<OptionObject> |
OverflowMenuElement.getOptions()
An array of option objects to display in the menu.
|
| Modifier and Type | Method and Description |
|---|---|
StaticSelectElement.StaticSelectElementBuilder |
StaticSelectElement.StaticSelectElementBuilder.initialOption(OptionObject initialOption) |
RadioButtonsElement.RadioButtonsElementBuilder |
RadioButtonsElement.RadioButtonsElementBuilder.initialOption(OptionObject initialOption)
An option object that exactly matches one of the options within options.
|
ExternalSelectElement.ExternalSelectElementBuilder |
ExternalSelectElement.ExternalSelectElementBuilder.initialOption(OptionObject initialOption)
A single option that exactly matches one of the options within the options or
option_groups loaded from the external data source.
|
void |
StaticSelectElement.setInitialOption(OptionObject initialOption) |
void |
RadioButtonsElement.setInitialOption(OptionObject initialOption)
An option object that exactly matches one of the options within options.
|
void |
ExternalSelectElement.setInitialOption(OptionObject initialOption)
A single option that exactly matches one of the options within the options or
option_groups loaded from the external data source.
|
| Modifier and Type | Method and Description |
|---|---|
MultiExternalSelectElement.MultiExternalSelectElementBuilder |
MultiExternalSelectElement.MultiExternalSelectElementBuilder.initialOptions(List<OptionObject> initialOptions)
An array of option objects that exactly match one or more of the options within options or option_groups.
|
CheckboxesElement.CheckboxesElementBuilder |
CheckboxesElement.CheckboxesElementBuilder.initialOptions(List<OptionObject> initialOptions)
An array of option objects that exactly matches one or more of the options within options.
|
MultiStaticSelectElement.MultiStaticSelectElementBuilder |
MultiStaticSelectElement.MultiStaticSelectElementBuilder.initialOptions(List<OptionObject> initialOptions)
An array of option objects that exactly match one or more of the options within options or option_groups.
|
StaticSelectElement.StaticSelectElementBuilder |
StaticSelectElement.StaticSelectElementBuilder.options(List<OptionObject> options)
An array of option objects.
|
CheckboxesElement.CheckboxesElementBuilder |
CheckboxesElement.CheckboxesElementBuilder.options(List<OptionObject> options)
An array of option objects.
|
RadioButtonsElement.RadioButtonsElementBuilder |
RadioButtonsElement.RadioButtonsElementBuilder.options(List<OptionObject> options)
An array of option objects.
|
MultiStaticSelectElement.MultiStaticSelectElementBuilder |
MultiStaticSelectElement.MultiStaticSelectElementBuilder.options(List<OptionObject> options)
An array of option objects.
|
OverflowMenuElement.OverflowMenuElementBuilder |
OverflowMenuElement.OverflowMenuElementBuilder.options(List<OptionObject> options)
An array of option objects to display in the menu.
|
void |
MultiExternalSelectElement.setInitialOptions(List<OptionObject> initialOptions)
An array of option objects that exactly match one or more of the options within options or option_groups.
|
void |
CheckboxesElement.setInitialOptions(List<OptionObject> initialOptions)
An array of option objects that exactly matches one or more of the options within options.
|
void |
MultiStaticSelectElement.setInitialOptions(List<OptionObject> initialOptions)
An array of option objects that exactly match one or more of the options within options or option_groups.
|
void |
StaticSelectElement.setOptions(List<OptionObject> options)
An array of option objects.
|
void |
CheckboxesElement.setOptions(List<OptionObject> options)
An array of option objects.
|
void |
RadioButtonsElement.setOptions(List<OptionObject> options)
An array of option objects.
|
void |
MultiStaticSelectElement.setOptions(List<OptionObject> options)
An array of option objects.
|
void |
OverflowMenuElement.setOptions(List<OptionObject> options)
An array of option objects to display in the menu.
|
| Constructor and Description |
|---|
ExternalSelectElement(PlainTextObject placeholder,
String actionId,
OptionObject initialOption,
Integer minQueryLength,
ConfirmationDialogObject confirm) |
RadioButtonsElement(String actionId,
List<OptionObject> options,
OptionObject initialOption,
ConfirmationDialogObject confirm) |
StaticSelectElement(PlainTextObject placeholder,
String actionId,
List<OptionObject> options,
List<OptionGroupObject> optionGroups,
OptionObject initialOption,
ConfirmationDialogObject confirm) |
Copyright © 2020. All rights reserved.