public class MultiUsersSelectElement extends BlockElement
Modifier and Type | Class and Description |
---|---|
static class |
MultiUsersSelectElement.MultiUsersSelectElementBuilder |
Constructor and Description |
---|
MultiUsersSelectElement() |
MultiUsersSelectElement(PlainTextObject placeholder,
String actionId,
List<String> initialUsers,
ConfirmationDialogObject confirm,
Integer maxSelectedItems) |
Modifier and Type | Method and Description |
---|---|
static MultiUsersSelectElement.MultiUsersSelectElementBuilder |
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 before the multi-select choices are submitted.
|
List<String> |
getInitialUsers()
An array of user IDs of any valid users to be pre-selected when the menu loads.
|
Integer |
getMaxSelectedItems()
Specifies the maximum number of items that can be selected in the menu.
|
PlainTextObject |
getPlaceholder()
A plain_text only text object that defines the placeholder text shown on the menu.
|
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 before the multi-select choices are submitted.
|
void |
setInitialUsers(List<String> initialUsers)
An array of user IDs of any valid users to be pre-selected when the menu loads.
|
void |
setMaxSelectedItems(Integer maxSelectedItems)
Specifies the maximum number of items that can be selected in the menu.
|
void |
setPlaceholder(PlainTextObject placeholder)
A plain_text only text object that defines the placeholder text shown on the menu.
|
String |
toString() |
public static final String TYPE
public MultiUsersSelectElement()
public MultiUsersSelectElement(PlainTextObject placeholder, String actionId, List<String> initialUsers, ConfirmationDialogObject confirm, Integer maxSelectedItems)
public static MultiUsersSelectElement.MultiUsersSelectElementBuilder builder()
public String getType()
public PlainTextObject getPlaceholder()
public String getActionId()
public List<String> getInitialUsers()
public ConfirmationDialogObject getConfirm()
public Integer getMaxSelectedItems()
public void setPlaceholder(PlainTextObject placeholder)
public void setActionId(String actionId)
public void setInitialUsers(List<String> initialUsers)
public void setConfirm(ConfirmationDialogObject confirm)
public void setMaxSelectedItems(Integer maxSelectedItems)
protected boolean canEqual(Object other)
Copyright © 2020. All rights reserved.