package cn.fateverse.workflow.entity.bpmn;

import lombok.Data;

import java.util.List;

/**
 * http请求属性
 * @author Clay
 * @date 2022/12/27
 */
@Data
public class HttpInfo {
  //请求类型
  private String method;
  //请求url
  private String url;
  //请求头信息
  private List<HttpParam> headers;
  //请求类型
  private String contentType;
  //请求参数
  private List<HttpParam> params;
  private Integer retry;
  //是否启用自定义脚本
  private Boolean handlerByScript;
  //成功是的脚本
  private String success;
  //失败时的脚本
  private String fail;
}
