public class ConversationsSelectElement extends BlockElement
Modifier and Type | Class and Description |
---|---|
static class |
ConversationsSelectElement.ConversationsSelectElementBuilder |
Constructor and Description |
---|
ConversationsSelectElement() |
ConversationsSelectElement(PlainTextObject placeholder,
String actionId,
String initialConversation,
ConfirmationDialogObject confirm,
Boolean responseUrlEnabled,
ConversationsFilter filter) |
Modifier and Type | Method and Description |
---|---|
static ConversationsSelectElement.ConversationsSelectElementBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getActionId()
An identifier for the action triggered when a menu option is selected.
|
ConfirmationDialogObject |
getConfirm()
A confirm object that defines an optional confirmation dialog that appears after a menu item is selected.
|
ConversationsFilter |
getFilter()
A filter object that reduces the list of available conversations using the specified criteria.
|
String |
getInitialConversation()
The ID of any valid conversation to be pre-selected when the menu loads.
|
PlainTextObject |
getPlaceholder()
A plain_text only text object that defines the placeholder text shown on the menu.
|
Boolean |
getResponseUrlEnabled()
This field only works with menus in input blocks in modals.
|
String |
getType() |
int |
hashCode() |
void |
setActionId(String actionId)
An identifier for the action triggered when a menu option is selected.
|
void |
setConfirm(ConfirmationDialogObject confirm)
A confirm object that defines an optional confirmation dialog that appears after a menu item is selected.
|
void |
setFilter(ConversationsFilter filter)
A filter object that reduces the list of available conversations using the specified criteria.
|
void |
setInitialConversation(String initialConversation)
The ID of any valid conversation to be pre-selected when the menu loads.
|
void |
setPlaceholder(PlainTextObject placeholder)
A plain_text only text object that defines the placeholder text shown on the menu.
|
void |
setResponseUrlEnabled(Boolean responseUrlEnabled)
This field only works with menus in input blocks in modals.
|
String |
toString() |
public static final String TYPE
public ConversationsSelectElement()
public ConversationsSelectElement(PlainTextObject placeholder, String actionId, String initialConversation, ConfirmationDialogObject confirm, Boolean responseUrlEnabled, ConversationsFilter filter)
public static ConversationsSelectElement.ConversationsSelectElementBuilder builder()
public String getType()
public PlainTextObject getPlaceholder()
public String getActionId()
public String getInitialConversation()
public ConfirmationDialogObject getConfirm()
public Boolean getResponseUrlEnabled()
public ConversationsFilter getFilter()
public void setPlaceholder(PlainTextObject placeholder)
public void setActionId(String actionId)
public void setInitialConversation(String initialConversation)
public void setConfirm(ConfirmationDialogObject confirm)
public void setResponseUrlEnabled(Boolean responseUrlEnabled)
public void setFilter(ConversationsFilter filter)
protected boolean canEqual(Object other)
Copyright © 2020. All rights reserved.