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 class  WorkflowStepInput.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.WorkflowStepInputBuilder builder()  
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.Boolean getSkipVariableReplacement()
    Flag to specify if variables in value should be replaced.
    java.lang.Object getValue()
    This is the input value.
    java.util.Map<java.lang.String,​java.lang.Object> getVariables()
    A key-value map of variables to replace
    int hashCode()  
    void setSkipVariableReplacement​(java.lang.Boolean skipVariableReplacement)
    Flag to specify if variables in value should be replaced.
    void setValue​(java.lang.Object value)
    This is the input value.
    void setVariables​(java.util.Map<java.lang.String,​java.lang.Object> variables)
    A key-value map of variables to replace
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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:
      equals in class java.lang.Object
    • canEqual

      protected boolean canEqual​(java.lang.Object other)
    • hashCode

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

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object