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
  • Constructor Details

    • WorkflowStepInput

      public WorkflowStepInput(Object value, Boolean skipVariableReplacement, Map<String,Object> variables)
    • WorkflowStepInput

      public WorkflowStepInput()
  • Method Details

    • 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.
    • getVariables

      public Map<String,Object> getVariables()
      A key-value map of variables to replace
    • 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
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object