Package com.slack.api.model.workflow
Class WorkflowStepInput
- java.lang.Object
-
- com.slack.api.model.workflow.WorkflowStepInput
-
public class WorkflowStepInput extends Object
{ "title": { "value": "{{user}} submitted an issue", "skip_variable_replacement": false, "variables": { "user": "David" } } }https://api.slack.com/reference/workflows/workflow_step#input
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWorkflowStepInput.WorkflowStepInputBuilder
-
Constructor Summary
Constructors Constructor Description WorkflowStepInput()WorkflowStepInput(Object value, Boolean skipVariableReplacement, Map<String,Object> variables)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WorkflowStepInput.WorkflowStepInputBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)BooleangetSkipVariableReplacement()Flag to specify if variables in value should be replaced.ObjectgetValue()This is the input value.Map<String,Object>getVariables()A key-value map of variables to replaceinthashCode()voidsetSkipVariableReplacement(Boolean skipVariableReplacement)Flag to specify if variables in value should be replaced.voidsetValue(Object value)This is the input value.voidsetVariables(Map<String,Object> variables)A key-value map of variables to replaceStringtoString()
-
-
-
Method Detail
-
builder
public static WorkflowStepInput.WorkflowStepInputBuilder builder()
-
getValue
public Object getValue()
This is the input value. You can use {{variables}} which are included in the view_submission payload from a configuration modal. These variables refer to input from earlier workflow steps.
-
getSkipVariableReplacement
public Boolean getSkipVariableReplacement()
Flag to specify if variables in value should be replaced. Default to true.
-
setValue
public void setValue(Object value)
This is the input value. You can use {{variables}} which are included in the view_submission payload from a configuration modal. These variables refer to input from earlier workflow steps.
-
setSkipVariableReplacement
public void setSkipVariableReplacement(Boolean skipVariableReplacement)
Flag to specify if variables in value should be replaced. Default to true.
-
setVariables
public void setVariables(Map<String,Object> variables)
A key-value map of variables to replace
-
canEqual
protected boolean canEqual(Object other)
-
-