Class DispatchActionConfig
java.lang.Object
com.slack.api.model.block.composition.DispatchActionConfig
public class DispatchActionConfig
extends java.lang.Object
https://api.slack.com/reference/block-kit/composition-objects#dispatch_action_config
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDispatchActionConfig.DispatchActionConfigBuilder -
Constructor Summary
Constructors Constructor Description DispatchActionConfig()DispatchActionConfig(java.util.List<java.lang.String> triggerActionsOn) -
Method Summary
Modifier and Type Method Description static DispatchActionConfig.DispatchActionConfigBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.util.List<java.lang.String>getTriggerActionsOn()An array of interaction types that you would like to receive a block_actions payload for.inthashCode()voidsetTriggerActionsOn(java.util.List<java.lang.String> triggerActionsOn)An array of interaction types that you would like to receive a block_actions payload for.java.lang.StringtoString()
-
Constructor Details
-
DispatchActionConfig
public DispatchActionConfig() -
DispatchActionConfig
public DispatchActionConfig(java.util.List<java.lang.String> triggerActionsOn)
-
-
Method Details
-
builder
-
getTriggerActionsOn
public java.util.List<java.lang.String> getTriggerActionsOn()An array of interaction types that you would like to receive a block_actions payload for.Should be one or both of: - on_enter_pressed — payload is dispatched when user presses the enter key while the input is in focus. Hint text will appear underneath the input explaining to the user to press enter to submit. - on_character_entered — payload is dispatched when a character is entered (or removed) in the input.
-
setTriggerActionsOn
public void setTriggerActionsOn(java.util.List<java.lang.String> triggerActionsOn)An array of interaction types that you would like to receive a block_actions payload for.Should be one or both of: - on_enter_pressed — payload is dispatched when user presses the enter key while the input is in focus. Hint text will appear underneath the input explaining to the user to press enter to submit. - on_character_entered — payload is dispatched when a character is entered (or removed) in the input.
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-