@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","ChannelsMultiSelectMenuIF"}) @Immutable public final class ChannelsMultiSelectMenu extends Object implements ChannelsMultiSelectMenuIF
ChannelsMultiSelectMenuIF.
Use the builder to create immutable instances:
ChannelsMultiSelectMenu.builder().
Use the static factory method to create immutable instances:
ChannelsMultiSelectMenu.of().
| Modifier and Type | Class and Description |
|---|---|
static class |
ChannelsMultiSelectMenu.Builder
Builds instances of type
ChannelsMultiSelectMenu. |
TYPE| Modifier and Type | Method and Description |
|---|---|
static ChannelsMultiSelectMenu.Builder |
builder()
Creates a builder for
ChannelsMultiSelectMenu. |
static ChannelsMultiSelectMenu |
copyOf(ChannelsMultiSelectMenuIF instance)
Creates an immutable copy of a
ChannelsMultiSelectMenuIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ChannelsMultiSelectMenu that have equal attribute values. |
String |
getActionId() |
Optional<ConfirmationDialog> |
getConfirmationDialog() |
List<String> |
getInitialConversationIds() |
Text |
getPlaceholder() |
String |
getType() |
int |
hashCode()
Computes a hash code from attributes:
type, placeholder, actionId, initialConversationIds, confirmationDialog. |
static ChannelsMultiSelectMenu |
of(Text placeholder,
String actionId)
Construct a new immutable
ChannelsMultiSelectMenu instance. |
String |
toString()
Prints the immutable value
ChannelsMultiSelectMenu with attribute values. |
ChannelsMultiSelectMenu |
withActionId(String actionId)
Copy the current immutable object by setting a value for the
actionId attribute. |
ChannelsMultiSelectMenu |
withConfirmationDialog(ConfirmationDialog value)
Copy the current immutable object by setting a present value for the optional
confirmationDialog attribute. |
ChannelsMultiSelectMenu |
withConfirmationDialog(Optional<ConfirmationDialog> optional)
Copy the current immutable object by setting an optional value for the
confirmationDialog attribute. |
ChannelsMultiSelectMenu |
withInitialConversationIds(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
initialConversationIds. |
ChannelsMultiSelectMenu |
withInitialConversationIds(String... elements)
Copy the current immutable object with elements that replace the content of
initialConversationIds. |
ChannelsMultiSelectMenu |
withPlaceholder(Text placeholder)
Copy the current immutable object by setting a value for the
placeholder attribute. |
public String getType()
getType in interface BlockElementgetType in interface ChannelsMultiSelectMenuIFtype attributepublic Text getPlaceholder()
getPlaceholder in interface ChannelsMultiSelectMenuIFplaceholder attributepublic String getActionId()
getActionId in interface ChannelsMultiSelectMenuIFactionId attributepublic List<String> getInitialConversationIds()
getInitialConversationIds in interface ChannelsMultiSelectMenuIFinitialConversationIds attributepublic Optional<ConfirmationDialog> getConfirmationDialog()
getConfirmationDialog in interface ChannelsMultiSelectMenuIFconfirmationDialog attributepublic final ChannelsMultiSelectMenu withPlaceholder(Text placeholder)
placeholder attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.placeholder - A new value for placeholderthis objectpublic final ChannelsMultiSelectMenu withActionId(String actionId)
actionId attribute.
An equals check used to prevent copying of the same value by returning this.actionId - A new value for actionIdthis objectpublic final ChannelsMultiSelectMenu withInitialConversationIds(String... elements)
initialConversationIds.elements - The elements to setthis objectpublic final ChannelsMultiSelectMenu withInitialConversationIds(Iterable<String> elements)
initialConversationIds.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of initialConversationIds elements to setthis objectpublic final ChannelsMultiSelectMenu withConfirmationDialog(@Nullable ConfirmationDialog value)
confirmationDialog attribute.value - The value for confirmationDialog, null is accepted as java.util.Optional.empty()this objectpublic final ChannelsMultiSelectMenu withConfirmationDialog(Optional<ConfirmationDialog> optional)
confirmationDialog attribute.
A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning this.optional - A value for confirmationDialogthis objectpublic boolean equals(@Nullable Object another)
ChannelsMultiSelectMenu that have equal attribute values.public int hashCode()
type, placeholder, actionId, initialConversationIds, confirmationDialog.public String toString()
ChannelsMultiSelectMenu with attribute values.public static ChannelsMultiSelectMenu of(Text placeholder, String actionId)
ChannelsMultiSelectMenu instance.placeholder - The value for the placeholder attributeactionId - The value for the actionId attributepublic static ChannelsMultiSelectMenu copyOf(ChannelsMultiSelectMenuIF instance)
ChannelsMultiSelectMenuIF value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static ChannelsMultiSelectMenu.Builder builder()
ChannelsMultiSelectMenu.Copyright © 2019. All rights reserved.