Package com.slack.api.model.workflow
Class WorkflowStepInput
java.lang.Object
com.slack.api.model.workflow.WorkflowStepInput
public class WorkflowStepInput
extends java.lang.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(java.lang.Object value, java.lang.Boolean skipVariableReplacement, java.util.Map<java.lang.String,java.lang.Object> variables) -
Method Summary
Modifier and Type Method Description static WorkflowStepInput.WorkflowStepInputBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.BooleangetSkipVariableReplacement()Flag to specify if variables in value should be replaced.java.lang.ObjectgetValue()This is the input value.java.util.Map<java.lang.String,java.lang.Object>getVariables()A key-value map of variables to replaceinthashCode()voidsetSkipVariableReplacement(java.lang.Boolean skipVariableReplacement)Flag to specify if variables in value should be replaced.voidsetValue(java.lang.Object value)This is the input value.voidsetVariables(java.util.Map<java.lang.String,java.lang.Object> variables)A key-value map of variables to replacejava.lang.StringtoString()
-
Constructor Details
-
WorkflowStepInput
public WorkflowStepInput(java.lang.Object value, java.lang.Boolean skipVariableReplacement, java.util.Map<java.lang.String,java.lang.Object> variables) -
WorkflowStepInput
public WorkflowStepInput()
-
-
Method Details
-
builder
-
getValue
public java.lang.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 java.lang.Boolean getSkipVariableReplacement()Flag to specify if variables in value should be replaced. Default to true. -
getVariables
public java.util.Map<java.lang.String,java.lang.Object> getVariables()A key-value map of variables to replace -
setValue
public void setValue(java.lang.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(java.lang.Boolean skipVariableReplacement)Flag to specify if variables in value should be replaced. Default to true. -
setVariables
public void setVariables(java.util.Map<java.lang.String,java.lang.Object> variables)A key-value map of variables to replace -
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
-