Uses of Class
com.slack.api.model.block.composition.OptionObject
Packages that use OptionObject
Package
Description
The classes representing the Slack core objects such as conversations, messages, users, blocks, and surfaces.
The classes representing the Slack core objects such as conversations, messages, users, blocks, and surfaces.
-
Uses of OptionObject in com.slack.api.model.block.composition
Methods in com.slack.api.model.block.composition that return OptionObjectModifier and TypeMethodDescriptionOptionObject.OptionObjectBuilder.build()
static OptionObject
BlockCompositions.option
(TextObject text, String value) static OptionObject
BlockCompositions.option
(ModelConfigurator<OptionObject.OptionObjectBuilder> configurator) Methods in com.slack.api.model.block.composition that return types with arguments of type OptionObjectModifier and TypeMethodDescriptionstatic List<OptionObject>
BlockCompositions.asOptions
(OptionObject... options) OptionGroupObject.getOptions()
Methods in com.slack.api.model.block.composition with parameters of type OptionObjectModifier and TypeMethodDescriptionstatic List<OptionObject>
BlockCompositions.asOptions
(OptionObject... options) Method parameters in com.slack.api.model.block.composition with type arguments of type OptionObjectModifier and TypeMethodDescriptionOptionGroupObject.OptionGroupObjectBuilder.options
(List<OptionObject> options) void
OptionGroupObject.setOptions
(List<OptionObject> options) Constructor parameters in com.slack.api.model.block.composition with type arguments of type OptionObjectModifierConstructorDescriptionOptionGroupObject
(PlainTextObject label, List<OptionObject> options) -
Uses of OptionObject in com.slack.api.model.block.element
Methods in com.slack.api.model.block.element that return OptionObjectModifier and TypeMethodDescriptionExternalSelectElement.getInitialOption()
A single option that exactly matches one of the options within the options or option_groups loaded from the external data source.RadioButtonsElement.getInitialOption()
An option object that exactly matches one of the options within options.StaticSelectElement.getInitialOption()
A single option that exactly matches one of the options within options or option_groups.Methods in com.slack.api.model.block.element that return types with arguments of type OptionObjectModifier and TypeMethodDescriptionCheckboxesElement.getInitialOptions()
An array of option objects that exactly matches one or more of the options within options.MultiExternalSelectElement.getInitialOptions()
An array of option objects that exactly match one or more of the options within options or option_groups.MultiStaticSelectElement.getInitialOptions()
An array of option objects that exactly match one or more of the options within options or option_groups.CheckboxesElement.getOptions()
An array of option objects.MultiStaticSelectElement.getOptions()
An array of option objects.OverflowMenuElement.getOptions()
An array of option objects to display in the menu.RadioButtonsElement.getOptions()
An array of option objects.StaticSelectElement.getOptions()
An array of option objects.Methods in com.slack.api.model.block.element with parameters of type OptionObjectModifier and TypeMethodDescriptionExternalSelectElement.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.RadioButtonsElement.RadioButtonsElementBuilder.initialOption
(OptionObject initialOption) An option object that exactly matches one of the options within options.StaticSelectElement.StaticSelectElementBuilder.initialOption
(OptionObject initialOption) A single option that exactly matches one of the options within options or option_groups.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.void
RadioButtonsElement.setInitialOption
(OptionObject initialOption) An option object that exactly matches one of the options within options.void
StaticSelectElement.setInitialOption
(OptionObject initialOption) A single option that exactly matches one of the options within options or option_groups.Method parameters in com.slack.api.model.block.element with type arguments of type OptionObjectModifier and TypeMethodDescriptionCheckboxesElement.CheckboxesElementBuilder.initialOptions
(List<OptionObject> initialOptions) An array of option objects that exactly matches one or more of the options within options.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.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.CheckboxesElement.CheckboxesElementBuilder.options
(List<OptionObject> options) An array of option objects.MultiStaticSelectElement.MultiStaticSelectElementBuilder.options
(List<OptionObject> options) An array of option objects.OverflowMenuElement.OverflowMenuElementBuilder.options
(List<OptionObject> options) An array of option objects to display in the menu.RadioButtonsElement.RadioButtonsElementBuilder.options
(List<OptionObject> options) An array of option objects.StaticSelectElement.StaticSelectElementBuilder.options
(List<OptionObject> options) An array of option objects.void
CheckboxesElement.setInitialOptions
(List<OptionObject> initialOptions) An array of option objects that exactly matches one or more of the options within options.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
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
CheckboxesElement.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.void
RadioButtonsElement.setOptions
(List<OptionObject> options) An array of option objects.void
StaticSelectElement.setOptions
(List<OptionObject> options) An array of option objects.Constructors in com.slack.api.model.block.element with parameters of type OptionObjectModifierConstructorDescriptionExternalSelectElement
(PlainTextObject placeholder, String actionId, OptionObject initialOption, Integer minQueryLength, ConfirmationDialogObject confirm, Boolean focusOnLoad) RadioButtonsElement
(String actionId, List<OptionObject> options, OptionObject initialOption, ConfirmationDialogObject confirm, Boolean focusOnLoad) StaticSelectElement
(PlainTextObject placeholder, String actionId, List<OptionObject> options, List<OptionGroupObject> optionGroups, OptionObject initialOption, ConfirmationDialogObject confirm, Boolean focusOnLoad) Constructor parameters in com.slack.api.model.block.element with type arguments of type OptionObjectModifierConstructorDescriptionCheckboxesElement
(String actionId, List<OptionObject> options, List<OptionObject> initialOptions, ConfirmationDialogObject confirm, Boolean focusOnLoad) MultiExternalSelectElement
(PlainTextObject placeholder, String actionId, List<OptionObject> initialOptions, Integer minQueryLength, ConfirmationDialogObject confirm, Integer maxSelectedItems, Boolean focusOnLoad) MultiStaticSelectElement
(PlainTextObject placeholder, String actionId, List<OptionObject> options, List<OptionGroupObject> optionGroups, List<OptionObject> initialOptions, ConfirmationDialogObject confirm, Integer maxSelectedItems, Boolean focusOnLoad) OverflowMenuElement
(String actionId, List<OptionObject> options, ConfirmationDialogObject confirm) RadioButtonsElement
(String actionId, List<OptionObject> options, OptionObject initialOption, ConfirmationDialogObject confirm, Boolean focusOnLoad) StaticSelectElement
(PlainTextObject placeholder, String actionId, List<OptionObject> options, List<OptionGroupObject> optionGroups, OptionObject initialOption, ConfirmationDialogObject confirm, Boolean focusOnLoad)