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
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()
-
Constructor Details
-
WorkflowStepInput
-
WorkflowStepInput
public WorkflowStepInput()
-
-
Method Details
-
builder
-
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
Flag to specify if variables in value should be replaced. Default to true. -
getVariables
A key-value map of variables to replace -
setValue
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
Flag to specify if variables in value should be replaced. Default to true. -
setVariables
A key-value map of variables to replace -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-