@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","ConversationsMultiSelectMenuIF"}) @Immutable public final class ConversationsMultiSelectMenu extends Object implements ConversationsMultiSelectMenuIF
ConversationsMultiSelectMenuIF.
Use the builder to create immutable instances:
ConversationsMultiSelectMenu.builder().
Use the static factory method to create immutable instances:
ConversationsMultiSelectMenu.of().
| Modifier and Type | Class and Description |
|---|---|
static class |
ConversationsMultiSelectMenu.Builder
Builds instances of type
ConversationsMultiSelectMenu. |
TYPE| Modifier and Type | Method and Description |
|---|---|
static ConversationsMultiSelectMenu.Builder |
builder()
Creates a builder for
ConversationsMultiSelectMenu. |
static ConversationsMultiSelectMenu |
copyOf(ConversationsMultiSelectMenuIF instance)
Creates an immutable copy of a
ConversationsMultiSelectMenuIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ConversationsMultiSelectMenu that have equal attribute values. |
String |
getActionId() |
Optional<ConfirmationDialog> |
getConfirmationDialog() |
List<String> |
getInitialChannelIds() |
Text |
getPlaceholder() |
String |
getType() |
int |
hashCode()
Computes a hash code from attributes:
type, placeholder, actionId, initialChannelIds, confirmationDialog. |
static ConversationsMultiSelectMenu |
of(Text placeholder,
String actionId)
Construct a new immutable
ConversationsMultiSelectMenu instance. |
String |
toString()
Prints the immutable value
ConversationsMultiSelectMenu with attribute values. |
ConversationsMultiSelectMenu |
withActionId(String actionId)
Copy the current immutable object by setting a value for the
actionId attribute. |
ConversationsMultiSelectMenu |
withConfirmationDialog(ConfirmationDialog value)
Copy the current immutable object by setting a present value for the optional
confirmationDialog attribute. |
ConversationsMultiSelectMenu |
withConfirmationDialog(Optional<ConfirmationDialog> optional)
Copy the current immutable object by setting an optional value for the
confirmationDialog attribute. |
ConversationsMultiSelectMenu |
withInitialChannelIds(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
initialChannelIds. |
ConversationsMultiSelectMenu |
withInitialChannelIds(String... elements)
Copy the current immutable object with elements that replace the content of
initialChannelIds. |
ConversationsMultiSelectMenu |
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 ConversationsMultiSelectMenuIFtype attributepublic Text getPlaceholder()
getPlaceholder in interface ConversationsMultiSelectMenuIFplaceholder attributepublic String getActionId()
getActionId in interface ConversationsMultiSelectMenuIFactionId attributepublic List<String> getInitialChannelIds()
getInitialChannelIds in interface ConversationsMultiSelectMenuIFinitialChannelIds attributepublic Optional<ConfirmationDialog> getConfirmationDialog()
getConfirmationDialog in interface ConversationsMultiSelectMenuIFconfirmationDialog attributepublic final ConversationsMultiSelectMenu 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 ConversationsMultiSelectMenu 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 ConversationsMultiSelectMenu withInitialChannelIds(String... elements)
initialChannelIds.elements - The elements to setthis objectpublic final ConversationsMultiSelectMenu withInitialChannelIds(Iterable<String> elements)
initialChannelIds.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of initialChannelIds elements to setthis objectpublic final ConversationsMultiSelectMenu withConfirmationDialog(@Nullable ConfirmationDialog value)
confirmationDialog attribute.value - The value for confirmationDialog, null is accepted as java.util.Optional.empty()this objectpublic final ConversationsMultiSelectMenu 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)
ConversationsMultiSelectMenu that have equal attribute values.public int hashCode()
type, placeholder, actionId, initialChannelIds, confirmationDialog.public String toString()
ConversationsMultiSelectMenu with attribute values.public static ConversationsMultiSelectMenu of(Text placeholder, String actionId)
ConversationsMultiSelectMenu instance.placeholder - The value for the placeholder attributeactionId - The value for the actionId attributepublic static ConversationsMultiSelectMenu copyOf(ConversationsMultiSelectMenuIF instance)
ConversationsMultiSelectMenuIF 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 ConversationsMultiSelectMenu.Builder builder()
ConversationsMultiSelectMenu.Copyright © 2019. All rights reserved.