Package com.docusign.maestro.model
Class WorkflowDefinition
- java.lang.Object
-
- com.docusign.maestro.model.WorkflowDefinition
-
- All Implemented Interfaces:
Serializable
public class WorkflowDefinition extends Object implements Serializable
A DS workflow definition..- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WorkflowDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowDefinitionaccountId(String accountId)accountId.WorkflowDefinitionaddStepsItem(Object stepsItem)addStepsItem.WorkflowDefinitioncreatedByName(String createdByName)createdByName.WorkflowDefinitiondocumentVersion(String documentVersion)documentVersion.booleanequals(Object o)Compares objects.StringgetAccountId()Get accountId.StringgetCreatedByName()The name of the user who created this workflow definition.StringgetDocumentVersion()Get documentVersion.Map<String,Participant>getParticipants()A DS Workflow participant record.StringgetSchemaVersion()Get schemaVersion.List<Object>getSteps()A list of #/definitions/DSWorkflowStep.DSWorkflowTriggergetTrigger()Get trigger.Map<String,Object>getVariables()A DS Workflow variable record.StringgetWorkflowDescription()Get workflowDescription.StringgetWorkflowName()Get workflowName.inthashCode()Returns the HashCode.WorkflowDefinitionparticipants(Map<String,Participant> participants)participants.WorkflowDefinitionputParticipantsItem(String key, Participant participantsItem)putParticipantsItem.WorkflowDefinitionputVariablesItem(String key, Object variablesItem)putVariablesItem.WorkflowDefinitionschemaVersion(String schemaVersion)schemaVersion.voidsetAccountId(String accountId)setAccountId.voidsetCreatedByName(String createdByName)setCreatedByName.voidsetDocumentVersion(String documentVersion)setDocumentVersion.voidsetParticipants(Map<String,Participant> participants)setParticipants.voidsetSchemaVersion(String schemaVersion)setSchemaVersion.voidsetSteps(List<Object> steps)setSteps.voidsetTrigger(DSWorkflowTrigger trigger)setTrigger.voidsetVariables(Map<String,Object> variables)setVariables.voidsetWorkflowDescription(String workflowDescription)setWorkflowDescription.voidsetWorkflowName(String workflowName)setWorkflowName.WorkflowDefinitionsteps(List<Object> steps)steps.StringtoString()Converts the given object to string.WorkflowDefinitiontrigger(DSWorkflowTrigger trigger)trigger.WorkflowDefinitionvariables(Map<String,Object> variables)variables.WorkflowDefinitionworkflowDescription(String workflowDescription)workflowDescription.WorkflowDefinitionworkflowName(String workflowName)workflowName.
-
-
-
Method Detail
-
accountId
public WorkflowDefinition accountId(String accountId)
accountId.- Returns:
- WorkflowDefinition
-
getAccountId
public String getAccountId()
Get accountId.- Returns:
- accountId
-
setAccountId
public void setAccountId(String accountId)
setAccountId.
-
createdByName
public WorkflowDefinition createdByName(String createdByName)
createdByName.- Returns:
- WorkflowDefinition
-
getCreatedByName
public String getCreatedByName()
The name of the user who created this workflow definition.- Returns:
- createdByName
-
setCreatedByName
public void setCreatedByName(String createdByName)
setCreatedByName.
-
documentVersion
public WorkflowDefinition documentVersion(String documentVersion)
documentVersion.- Returns:
- WorkflowDefinition
-
getDocumentVersion
public String getDocumentVersion()
Get documentVersion.- Returns:
- documentVersion
-
setDocumentVersion
public void setDocumentVersion(String documentVersion)
setDocumentVersion.
-
participants
public WorkflowDefinition participants(Map<String,Participant> participants)
participants.- Returns:
- WorkflowDefinition
-
putParticipantsItem
public WorkflowDefinition putParticipantsItem(String key, Participant participantsItem)
putParticipantsItem.- Returns:
- WorkflowDefinition
-
getParticipants
public Map<String,Participant> getParticipants()
A DS Workflow participant record.- Returns:
- participants
-
setParticipants
public void setParticipants(Map<String,Participant> participants)
setParticipants.
-
schemaVersion
public WorkflowDefinition schemaVersion(String schemaVersion)
schemaVersion.- Returns:
- WorkflowDefinition
-
getSchemaVersion
public String getSchemaVersion()
Get schemaVersion.- Returns:
- schemaVersion
-
setSchemaVersion
public void setSchemaVersion(String schemaVersion)
setSchemaVersion.
-
steps
public WorkflowDefinition steps(List<Object> steps)
steps.- Returns:
- WorkflowDefinition
-
addStepsItem
public WorkflowDefinition addStepsItem(Object stepsItem)
addStepsItem.- Returns:
- WorkflowDefinition
-
getSteps
public List<Object> getSteps()
A list of #/definitions/DSWorkflowStep. Each element is: A DS Workflow Step. This object should be any of the following object models: [#/definitions/DSServiceStep, #/definitions/DSTransformationStep, #/definitions/DSDocGenStep, #/definitions/DSSignStep].- Returns:
- steps
-
trigger
public WorkflowDefinition trigger(DSWorkflowTrigger trigger)
trigger.- Returns:
- WorkflowDefinition
-
getTrigger
public DSWorkflowTrigger getTrigger()
Get trigger.- Returns:
- trigger
-
setTrigger
public void setTrigger(DSWorkflowTrigger trigger)
setTrigger.
-
variables
public WorkflowDefinition variables(Map<String,Object> variables)
variables.- Returns:
- WorkflowDefinition
-
putVariablesItem
public WorkflowDefinition putVariablesItem(String key, Object variablesItem)
putVariablesItem.- Returns:
- WorkflowDefinition
-
getVariables
public Map<String,Object> getVariables()
A DS Workflow variable record.- Returns:
- variables
-
workflowDescription
public WorkflowDefinition workflowDescription(String workflowDescription)
workflowDescription.- Returns:
- WorkflowDefinition
-
getWorkflowDescription
public String getWorkflowDescription()
Get workflowDescription.- Returns:
- workflowDescription
-
setWorkflowDescription
public void setWorkflowDescription(String workflowDescription)
setWorkflowDescription.
-
workflowName
public WorkflowDefinition workflowName(String workflowName)
workflowName.- Returns:
- WorkflowDefinition
-
getWorkflowName
public String getWorkflowName()
Get workflowName.- Returns:
- workflowName
-
setWorkflowName
public void setWorkflowName(String workflowName)
setWorkflowName.
-
equals
public boolean equals(Object o)
Compares objects.
-
-