Package com.slack.api.model.workflow
Class WorkflowStepInput
java.lang.Object
com.slack.api.model.workflow.WorkflowStepInput
{
"title": {
"value": "{{user}} submitted an issue",
"skip_variable_replacement": false,
"variables": {
"user": "David"
}
}
}
https://docs.slack.dev/legacy/legacy-steps-from-apps/legacy-steps-from-apps-workflow_step-object-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCreates a newWorkflowStepInputinstance. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanFlag to specify if variables in value should be replaced.getValue()This is the input value.A key-value map of variables to replaceinthashCode()voidsetSkipVariableReplacement(Boolean skipVariableReplacement) Flag to specify if variables in value should be replaced.voidThis is the input value.voidsetVariables(Map<String, Object> variables) A key-value map of variables to replacetoString()
-
Constructor Details
-
WorkflowStepInput
public WorkflowStepInput(Object value, Boolean skipVariableReplacement, Map<String, Object> variables) Creates a newWorkflowStepInputinstance.- Parameters:
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.skipVariableReplacement- Flag to specify if variables in value should be replaced. Default to true.variables- A key-value map of variables to replace
-
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
-