Package com.docusign.maestro.model
Class WorkflowDefinitionWithId
- java.lang.Object
-
- com.docusign.maestro.model.WorkflowDefinitionWithId
-
- All Implemented Interfaces:
Serializable
public class WorkflowDefinitionWithId extends Object implements Serializable
A DS workflow definition with metadata..- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WorkflowDefinitionWithId()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowDefinitionWithIdaccountId(String accountId)accountId.WorkflowDefinitionWithIdaddValidationErrorsItem(ValidationErrors validationErrorsItem)addValidationErrorsItem.WorkflowDefinitionWithIdcreatedDate(String createdDate)createdDate.booleanequals(Object o)Compares objects.StringgetAccountId()Get accountId.StringgetCreatedDate()The date the workflow was created.StringgetId()Get id.StringgetLastDeployedId()Get lastDeployedId.StringgetLastDeployedVersion()Get lastDeployedVersion.WorkflowDefinitiongetLastDeployedWorkflowDefinition()Get lastDeployedWorkflowDefinition.StringgetLastUpdatedDate()The date the workflow was last updated.WorkflowMetadataStatusgetStatus()Get status.StringgetTriggerUrl()Get triggerUrl.List<ValidationErrors>getValidationErrors()Get validationErrors.WorkflowDefinitiongetWorkflowDefinition()Get workflowDefinition.inthashCode()Returns the HashCode.WorkflowDefinitionWithIdid(String id)id.WorkflowDefinitionWithIdisDraft(Boolean isDraft)isDraft.BooleanisIsDraft()Get isDraft.WorkflowDefinitionWithIdlastDeployedId(String lastDeployedId)lastDeployedId.WorkflowDefinitionWithIdlastDeployedVersion(String lastDeployedVersion)lastDeployedVersion.WorkflowDefinitionWithIdlastDeployedWorkflowDefinition(WorkflowDefinition lastDeployedWorkflowDefinition)lastDeployedWorkflowDefinition.WorkflowDefinitionWithIdlastUpdatedDate(String lastUpdatedDate)lastUpdatedDate.voidsetAccountId(String accountId)setAccountId.voidsetCreatedDate(String createdDate)setCreatedDate.voidsetId(String id)setId.voidsetIsDraft(Boolean isDraft)setIsDraft.voidsetLastDeployedId(String lastDeployedId)setLastDeployedId.voidsetLastDeployedVersion(String lastDeployedVersion)setLastDeployedVersion.voidsetLastDeployedWorkflowDefinition(WorkflowDefinition lastDeployedWorkflowDefinition)setLastDeployedWorkflowDefinition.voidsetLastUpdatedDate(String lastUpdatedDate)setLastUpdatedDate.voidsetStatus(WorkflowMetadataStatus status)setStatus.voidsetTriggerUrl(String triggerUrl)setTriggerUrl.voidsetValidationErrors(List<ValidationErrors> validationErrors)setValidationErrors.voidsetWorkflowDefinition(WorkflowDefinition workflowDefinition)setWorkflowDefinition.WorkflowDefinitionWithIdstatus(WorkflowMetadataStatus status)status.StringtoString()Converts the given object to string.WorkflowDefinitionWithIdtriggerUrl(String triggerUrl)triggerUrl.WorkflowDefinitionWithIdvalidationErrors(List<ValidationErrors> validationErrors)validationErrors.WorkflowDefinitionWithIdworkflowDefinition(WorkflowDefinition workflowDefinition)workflowDefinition.
-
-
-
Method Detail
-
accountId
public WorkflowDefinitionWithId accountId(String accountId)
accountId.- Returns:
- WorkflowDefinitionWithId
-
getAccountId
public String getAccountId()
Get accountId.- Returns:
- accountId
-
setAccountId
public void setAccountId(String accountId)
setAccountId.
-
createdDate
public WorkflowDefinitionWithId createdDate(String createdDate)
createdDate.- Returns:
- WorkflowDefinitionWithId
-
getCreatedDate
public String getCreatedDate()
The date the workflow was created.- Returns:
- createdDate
-
setCreatedDate
public void setCreatedDate(String createdDate)
setCreatedDate.
-
id
public WorkflowDefinitionWithId id(String id)
id.- Returns:
- WorkflowDefinitionWithId
-
getId
public String getId()
Get id.- Returns:
- id
-
setId
public void setId(String id)
setId.
-
isDraft
public WorkflowDefinitionWithId isDraft(Boolean isDraft)
isDraft.- Returns:
- WorkflowDefinitionWithId
-
isIsDraft
public Boolean isIsDraft()
Get isDraft.- Returns:
- isDraft
-
setIsDraft
public void setIsDraft(Boolean isDraft)
setIsDraft.
-
lastDeployedId
public WorkflowDefinitionWithId lastDeployedId(String lastDeployedId)
lastDeployedId.- Returns:
- WorkflowDefinitionWithId
-
getLastDeployedId
public String getLastDeployedId()
Get lastDeployedId.- Returns:
- lastDeployedId
-
setLastDeployedId
public void setLastDeployedId(String lastDeployedId)
setLastDeployedId.
-
lastDeployedVersion
public WorkflowDefinitionWithId lastDeployedVersion(String lastDeployedVersion)
lastDeployedVersion.- Returns:
- WorkflowDefinitionWithId
-
getLastDeployedVersion
public String getLastDeployedVersion()
Get lastDeployedVersion.- Returns:
- lastDeployedVersion
-
setLastDeployedVersion
public void setLastDeployedVersion(String lastDeployedVersion)
setLastDeployedVersion.
-
lastDeployedWorkflowDefinition
public WorkflowDefinitionWithId lastDeployedWorkflowDefinition(WorkflowDefinition lastDeployedWorkflowDefinition)
lastDeployedWorkflowDefinition.- Returns:
- WorkflowDefinitionWithId
-
getLastDeployedWorkflowDefinition
public WorkflowDefinition getLastDeployedWorkflowDefinition()
Get lastDeployedWorkflowDefinition.- Returns:
- lastDeployedWorkflowDefinition
-
setLastDeployedWorkflowDefinition
public void setLastDeployedWorkflowDefinition(WorkflowDefinition lastDeployedWorkflowDefinition)
setLastDeployedWorkflowDefinition.
-
lastUpdatedDate
public WorkflowDefinitionWithId lastUpdatedDate(String lastUpdatedDate)
lastUpdatedDate.- Returns:
- WorkflowDefinitionWithId
-
getLastUpdatedDate
public String getLastUpdatedDate()
The date the workflow was last updated.- Returns:
- lastUpdatedDate
-
setLastUpdatedDate
public void setLastUpdatedDate(String lastUpdatedDate)
setLastUpdatedDate.
-
status
public WorkflowDefinitionWithId status(WorkflowMetadataStatus status)
status.- Returns:
- WorkflowDefinitionWithId
-
getStatus
public WorkflowMetadataStatus getStatus()
Get status.- Returns:
- status
-
setStatus
public void setStatus(WorkflowMetadataStatus status)
setStatus.
-
triggerUrl
public WorkflowDefinitionWithId triggerUrl(String triggerUrl)
triggerUrl.- Returns:
- WorkflowDefinitionWithId
-
getTriggerUrl
public String getTriggerUrl()
Get triggerUrl.- Returns:
- triggerUrl
-
setTriggerUrl
public void setTriggerUrl(String triggerUrl)
setTriggerUrl.
-
validationErrors
public WorkflowDefinitionWithId validationErrors(List<ValidationErrors> validationErrors)
validationErrors.- Returns:
- WorkflowDefinitionWithId
-
addValidationErrorsItem
public WorkflowDefinitionWithId addValidationErrorsItem(ValidationErrors validationErrorsItem)
addValidationErrorsItem.- Returns:
- WorkflowDefinitionWithId
-
getValidationErrors
public List<ValidationErrors> getValidationErrors()
Get validationErrors.- Returns:
- validationErrors
-
setValidationErrors
public void setValidationErrors(List<ValidationErrors> validationErrors)
setValidationErrors.
-
workflowDefinition
public WorkflowDefinitionWithId workflowDefinition(WorkflowDefinition workflowDefinition)
workflowDefinition.- Returns:
- WorkflowDefinitionWithId
-
getWorkflowDefinition
public WorkflowDefinition getWorkflowDefinition()
Get workflowDefinition.- Returns:
- workflowDefinition
-
setWorkflowDefinition
public void setWorkflowDefinition(WorkflowDefinition workflowDefinition)
setWorkflowDefinition.
-
equals
public boolean equals(Object o)
Compares objects.
-
-