All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.nflow.rest.v1.msg.CreateWorkflowInstanceResponse Maven / Gradle / Ivy

There is a newer version: 9.0.0
Show newest version
package io.nflow.rest.v1.msg;

import javax.validation.constraints.Size;

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import io.nflow.engine.model.ModelObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(description = "Response for submit new workflow instance")
@SuppressFBWarnings(value="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD", justification="jackson reads dto fields")
public class CreateWorkflowInstanceResponse extends ModelObject {

  @ApiModelProperty(value = "Idenfier of the new workflow instance", required = true)
  public int id;

  @ApiModelProperty(value = "Workflow definition type", required = true)
  public String type;

  @ApiModelProperty(value = "Main business key or identifier for the workflow instance (e.g. credit application identifier)")
  public String businessKey;

  @Size(max=64)
  @ApiModelProperty(value = "Unique external identifier under workflow type. Generated by nflow if not given.")
  public String externalId;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy