com.slack.api.model.workflow.WorkflowStepInput Maven / Gradle / Ivy
package com.slack.api.model.workflow;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Map;
/**
*
* {
* "title": {
* "value": "{{user}} submitted an issue",
* "skip_variable_replacement": false,
* "variables": {
* "user": "David"
* }
* }
* }
*
* https://api.slack.com/reference/workflows/workflow_step#input
*/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class WorkflowStepInput {
/**
* 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.
*/
private Object value;
/**
* Flag to specify if variables in value should be replaced. Default to true.
*/
private Boolean skipVariableReplacement;
/**
* A key-value map of variables to replace
*/
private Map variables;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy