Class WorkflowUpdate
java.lang.Object
io.github.primelib.jira4j.restv3.model.WorkflowUpdate
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class WorkflowUpdate
extends Object
WorkflowUpdate
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<StatusMigration>
The mapping of old to new status ID.protected String
The new description for this workflow.protected String
The ID of this workflow.protected WorkflowLayout
protected List<StatusLayoutUpdate>
The statuses associated with this workflow.protected List<StatusMappingDTO>
The mapping of old to new status ID for a specific project and issue type.protected List<TransitionUpdateDTO>
The transitions of this workflow.protected DocumentVersion
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
WorkflowUpdate
(Consumer<WorkflowUpdate> spec) Constructs a validated instance ofWorkflowUpdate
.WorkflowUpdate
(List<StatusMigration> defaultStatusMappings, String description, String id, WorkflowLayout startPointLayout, List<StatusMappingDTO> statusMappings, List<StatusLayoutUpdate> statuses, List<TransitionUpdateDTO> transitions, DocumentVersion version) Constructs a validated instance ofWorkflowUpdate
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
The mapping of old to new status ID.defaultStatusMappings
(List<StatusMigration> defaultStatusMappings) The mapping of old to new status ID.The new description for this workflow.description
(String description) The new description for this workflow.boolean
int
hashCode()
id()
The ID of this workflow.The ID of this workflow.startPointLayout
(WorkflowLayout startPointLayout) statuses()
The statuses associated with this workflow.statuses
(List<StatusLayoutUpdate> statuses) The statuses associated with this workflow.The mapping of old to new status ID for a specific project and issue type.statusMappings
(List<StatusMappingDTO> statusMappings) The mapping of old to new status ID for a specific project and issue type.toString()
The transitions of this workflow.transitions
(List<TransitionUpdateDTO> transitions) The transitions of this workflow.version()
version
(DocumentVersion version)
-
Field Details
-
defaultStatusMappings
The mapping of old to new status ID. -
description
The new description for this workflow. -
id
The ID of this workflow. -
startPointLayout
-
statusMappings
The mapping of old to new status ID for a specific project and issue type. -
statuses
The statuses associated with this workflow. -
transitions
The transitions of this workflow. -
version
-
-
Constructor Details
-
WorkflowUpdate
Constructs a validated instance ofWorkflowUpdate
.- Parameters:
spec
- the specification to process
-
WorkflowUpdate
@Internal public WorkflowUpdate(List<StatusMigration> defaultStatusMappings, String description, String id, WorkflowLayout startPointLayout, List<StatusMappingDTO> statusMappings, List<StatusLayoutUpdate> statuses, List<TransitionUpdateDTO> transitions, DocumentVersion version) Constructs a validated instance ofWorkflowUpdate
.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
WorkflowUpdate(Consumer)
instead.- Parameters:
defaultStatusMappings
- The mapping of old to new status ID.description
- The new description for this workflow.id
- The ID of this workflow.startPointLayout
- startPointLayoutstatusMappings
- The mapping of old to new status ID for a specific project and issue type.statuses
- The statuses associated with this workflow.transitions
- The transitions of this workflow.version
- version
-
WorkflowUpdate
protected WorkflowUpdate()
-
-
Method Details
-
builder
-
defaultStatusMappings
The mapping of old to new status ID. -
description
The new description for this workflow. -
id
The ID of this workflow. -
startPointLayout
-
statusMappings
The mapping of old to new status ID for a specific project and issue type. -
statuses
The statuses associated with this workflow. -
transitions
The transitions of this workflow. -
version
-
defaultStatusMappings
The mapping of old to new status ID.- Returns:
this
.
-
description
The new description for this workflow.- Returns:
this
.
-
id
The ID of this workflow.- Returns:
this
.
-
startPointLayout
- Returns:
this
.
-
statusMappings
The mapping of old to new status ID for a specific project and issue type.- Returns:
this
.
-
statuses
The statuses associated with this workflow.- Returns:
this
.
-
transitions
The transitions of this workflow.- Returns:
this
.
-
version
- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-