@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") @Beta public class WorkflowInstance extends Object
Modifier and Type | Class and Description |
---|---|
static class |
WorkflowInstance.StatusEnum
The status of the workflow instance.
|
Constructor and Description |
---|
WorkflowInstance() |
Modifier and Type | Method and Description |
---|---|
WorkflowInstance |
addAttributesItem(CustomAttribute attributesItem)
Add one Attributes instance to this
WorkflowInstance . |
WorkflowInstance |
attributes(List<CustomAttribute> attributes)
Set the attributes of this
WorkflowInstance instance and return the same instance. |
WorkflowInstance |
businessKey(String businessKey)
Set the businessKey of this
WorkflowInstance instance and return the same instance. |
WorkflowInstance |
completedAt(OffsetDateTime completedAt)
Set the completedAt of this
WorkflowInstance instance and return the same instance. |
WorkflowInstance |
definitionId(String definitionId)
Set the definitionId of this
WorkflowInstance instance and return the same instance. |
WorkflowInstance |
definitionVersion(String definitionVersion)
Set the definitionVersion of this
WorkflowInstance instance and return the same instance. |
boolean |
equals(Object o) |
List<CustomAttribute> |
getAttributes()
Attributes of the workflow instance.
|
String |
getBusinessKey()
The business key of the workflow instance.
|
OffsetDateTime |
getCompletedAt()
The time when the workflow instance status changed to COMPLETED.
|
String |
getDefinitionId()
The ID of the workflow definition for which the instance was started.
|
String |
getDefinitionVersion()
The version of the workflow definition for which the instance was started.
|
String |
getId()
The workflow instance ID.
|
OffsetDateTime |
getStartedAt()
The time when the workflow instance started.
|
String |
getStartedBy()
The user who started the workflow instance.
|
WorkflowInstance.StatusEnum |
getStatus()
The status of the workflow instance.
|
String |
getSubject()
The subject of the workflow instance.
|
int |
hashCode() |
WorkflowInstance |
id(String id)
Set the id of this
WorkflowInstance instance and return the same instance. |
void |
setAttributes(List<CustomAttribute> attributes)
Set the attributes of this
WorkflowInstance instance. |
void |
setBusinessKey(String businessKey)
Set the businessKey of this
WorkflowInstance instance. |
void |
setCompletedAt(OffsetDateTime completedAt)
Set the completedAt of this
WorkflowInstance instance. |
void |
setDefinitionId(String definitionId)
Set the definitionId of this
WorkflowInstance instance. |
void |
setDefinitionVersion(String definitionVersion)
Set the definitionVersion of this
WorkflowInstance instance. |
void |
setId(String id)
Set the id of this
WorkflowInstance instance. |
void |
setStartedAt(OffsetDateTime startedAt)
Set the startedAt of this
WorkflowInstance instance. |
void |
setStartedBy(String startedBy)
Set the startedBy of this
WorkflowInstance instance. |
void |
setStatus(WorkflowInstance.StatusEnum status)
Set the status of this
WorkflowInstance instance. |
void |
setSubject(String subject)
Set the subject of this
WorkflowInstance instance. |
WorkflowInstance |
startedAt(OffsetDateTime startedAt)
Set the startedAt of this
WorkflowInstance instance and return the same instance. |
WorkflowInstance |
startedBy(String startedBy)
Set the startedBy of this
WorkflowInstance instance and return the same instance. |
WorkflowInstance |
status(WorkflowInstance.StatusEnum status)
Set the status of this
WorkflowInstance instance and return the same instance. |
WorkflowInstance |
subject(String subject)
Set the subject of this
WorkflowInstance instance and return the same instance. |
String |
toString() |
@Nonnull public WorkflowInstance definitionId(@Nonnull String definitionId)
WorkflowInstance
instance and return the same instance.definitionId
- The ID of the workflow definition for which the instance was started. The ID is at most 64 characters
long.WorkflowInstance
class@Nonnull public String getDefinitionId()
WorkflowInstance
instance.public void setDefinitionId(@Nonnull String definitionId)
WorkflowInstance
instance.definitionId
- The ID of the workflow definition for which the instance was started. The ID is at most 64 characters
long.@Nonnull public WorkflowInstance definitionVersion(@Nonnull String definitionVersion)
WorkflowInstance
instance and return the same instance.definitionVersion
- The version of the workflow definition for which the instance was started.WorkflowInstance
class@Nonnull public String getDefinitionVersion()
WorkflowInstance
instance.public void setDefinitionVersion(@Nonnull String definitionVersion)
WorkflowInstance
instance.definitionVersion
- The version of the workflow definition for which the instance was started.@Nonnull public WorkflowInstance id(@Nonnull String id)
WorkflowInstance
instance and return the same instance.id
- The workflow instance ID. The ID is at least 36 characters long.WorkflowInstance
class@Nonnull public String getId()
WorkflowInstance
instance.public void setId(@Nonnull String id)
WorkflowInstance
instance.id
- The workflow instance ID. The ID is at least 36 characters long.@Nonnull public WorkflowInstance startedAt(@Nonnull OffsetDateTime startedAt)
WorkflowInstance
instance and return the same instance.startedAt
- The time when the workflow instance started.WorkflowInstance
class@Nonnull public OffsetDateTime getStartedAt()
WorkflowInstance
instance.public void setStartedAt(@Nonnull OffsetDateTime startedAt)
WorkflowInstance
instance.startedAt
- The time when the workflow instance started.@Nonnull public WorkflowInstance startedBy(@Nonnull String startedBy)
WorkflowInstance
instance and return the same instance.startedBy
- The user who started the workflow instance. The user ID is at most 255 characters long.WorkflowInstance
class@Nonnull public String getStartedBy()
WorkflowInstance
instance.public void setStartedBy(@Nonnull String startedBy)
WorkflowInstance
instance.startedBy
- The user who started the workflow instance. The user ID is at most 255 characters long.@Nonnull public WorkflowInstance completedAt(@Nonnull OffsetDateTime completedAt)
WorkflowInstance
instance and return the same instance.completedAt
- The time when the workflow instance status changed to COMPLETED.WorkflowInstance
class@Nonnull public OffsetDateTime getCompletedAt()
WorkflowInstance
instance.public void setCompletedAt(@Nonnull OffsetDateTime completedAt)
WorkflowInstance
instance.completedAt
- The time when the workflow instance status changed to COMPLETED.@Nonnull public WorkflowInstance status(@Nonnull WorkflowInstance.StatusEnum status)
WorkflowInstance
instance and return the same instance.status
- The status of the workflow instance.WorkflowInstance
class@Nonnull public WorkflowInstance.StatusEnum getStatus()
WorkflowInstance
instance.public void setStatus(@Nonnull WorkflowInstance.StatusEnum status)
WorkflowInstance
instance.status
- The status of the workflow instance.@Nonnull public WorkflowInstance businessKey(@Nonnull String businessKey)
WorkflowInstance
instance and return the same instance.businessKey
- The business key of the workflow instance. The business key of a workflow instance is limited to 255
characters.WorkflowInstance
class@Nonnull public String getBusinessKey()
WorkflowInstance
instance.public void setBusinessKey(@Nonnull String businessKey)
WorkflowInstance
instance.businessKey
- The business key of the workflow instance. The business key of a workflow instance is limited to 255
characters.@Nonnull public WorkflowInstance subject(@Nonnull String subject)
WorkflowInstance
instance and return the same instance.subject
- The subject of the workflow instance. The subject of a workflow instance is limited to 255 characters.WorkflowInstance
class@Nonnull public String getSubject()
WorkflowInstance
instance.public void setSubject(@Nonnull String subject)
WorkflowInstance
instance.subject
- The subject of the workflow instance. The subject of a workflow instance is limited to 255 characters.@Nonnull public WorkflowInstance attributes(@Nonnull List<CustomAttribute> attributes)
WorkflowInstance
instance and return the same instance.attributes
- Attributes of the workflow instance. Present only if the $expand parameter in the query has the value
\"attributes\".WorkflowInstance
class@Nonnull public WorkflowInstance addAttributesItem(@Nonnull CustomAttribute attributesItem)
WorkflowInstance
.attributesItem
- The Attributes that should be addedWorkflowInstance
@Nonnull public List<CustomAttribute> getAttributes()
WorkflowInstance
instance.public void setAttributes(@Nonnull List<CustomAttribute> attributes)
WorkflowInstance
instance.attributes
- Attributes of the workflow instance. Present only if the $expand parameter in the query has the value
\"attributes\".Copyright © 2020 SAP SE. All rights reserved.