Class WorkflowSchemeUpdateRequest
java.lang.Object
io.github.primelib.jira4j.restv3.model.WorkflowSchemeUpdateRequest
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class WorkflowSchemeUpdateRequest
extends Object
WorkflowSchemeUpdateRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
The ID of the workflow for issue types without having a mapping defined in this workflow scheme.protected String
The new description for this workflow scheme.protected String
The ID of this workflow scheme.protected String
The new name for this workflow scheme.protected List<MappingsByIssueTypeOverride>
Overrides, for the selected issue types, any status mappings provided instatusMappingsByWorkflows
.protected List<MappingsByWorkflow>
The status mappings by workflows.protected DocumentVersion
protected List<WorkflowSchemeAssociation>
Mappings from workflows to issue types. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
WorkflowSchemeUpdateRequest
(String defaultWorkflowId, String description, String id, String name, List<MappingsByIssueTypeOverride> statusMappingsByIssueTypeOverride, List<MappingsByWorkflow> statusMappingsByWorkflows, DocumentVersion version, List<WorkflowSchemeAssociation> workflowsForIssueTypes) Constructs a validated instance ofWorkflowSchemeUpdateRequest
.Constructs a validated instance ofWorkflowSchemeUpdateRequest
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
The ID of the workflow for issue types without having a mapping defined in this workflow scheme.defaultWorkflowId
(String defaultWorkflowId) The ID of the workflow for issue types without having a mapping defined in this workflow scheme.The new description for this workflow scheme.description
(String description) The new description for this workflow scheme.boolean
int
hashCode()
id()
The ID of this workflow scheme.The ID of this workflow scheme.name()
The new name for this workflow scheme.The new name for this workflow scheme.Overrides, for the selected issue types, any status mappings provided instatusMappingsByWorkflows
.statusMappingsByIssueTypeOverride
(List<MappingsByIssueTypeOverride> statusMappingsByIssueTypeOverride) Overrides, for the selected issue types, any status mappings provided instatusMappingsByWorkflows
.The status mappings by workflows.statusMappingsByWorkflows
(List<MappingsByWorkflow> statusMappingsByWorkflows) The status mappings by workflows.toString()
version()
version
(DocumentVersion version) Mappings from workflows to issue types.workflowsForIssueTypes
(List<WorkflowSchemeAssociation> workflowsForIssueTypes) Mappings from workflows to issue types.
-
Field Details
-
defaultWorkflowId
The ID of the workflow for issue types without having a mapping defined in this workflow scheme. Only used in global-scoped workflow schemes. If thedefaultWorkflowId
isn't specified, this is set to *Jira Workflow (jira)*. -
description
The new description for this workflow scheme. -
id
The ID of this workflow scheme. -
name
The new name for this workflow scheme. -
statusMappingsByIssueTypeOverride
Overrides, for the selected issue types, any status mappings provided instatusMappingsByWorkflows
. Status mappings are required when the new workflow for an issue type doesn't contain all statuses that the old workflow has. Status mappings can be provided by a combination ofstatusMappingsByWorkflows
andstatusMappingsByIssueTypeOverride
. -
statusMappingsByWorkflows
The status mappings by workflows. Status mappings are required when the new workflow for an issue type doesn't contain all statuses that the old workflow has. Status mappings can be provided by a combination ofstatusMappingsByWorkflows
andstatusMappingsByIssueTypeOverride
. -
version
-
workflowsForIssueTypes
Mappings from workflows to issue types.
-
-
Constructor Details
-
WorkflowSchemeUpdateRequest
Constructs a validated instance ofWorkflowSchemeUpdateRequest
.- Parameters:
spec
- the specification to process
-
WorkflowSchemeUpdateRequest
@Internal public WorkflowSchemeUpdateRequest(String defaultWorkflowId, String description, String id, String name, List<MappingsByIssueTypeOverride> statusMappingsByIssueTypeOverride, List<MappingsByWorkflow> statusMappingsByWorkflows, DocumentVersion version, List<WorkflowSchemeAssociation> workflowsForIssueTypes) Constructs a validated instance ofWorkflowSchemeUpdateRequest
.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
WorkflowSchemeUpdateRequest(Consumer)
instead.- Parameters:
defaultWorkflowId
- The ID of the workflow for issue types without having a mapping defined in this workflow scheme. Only used in global-scoped workflow schemes. If thedefaultWorkflowId
isn't specified, this is set to *Jira Workflow (jira)*.description
- The new description for this workflow scheme.id
- The ID of this workflow scheme.name
- The new name for this workflow scheme.statusMappingsByIssueTypeOverride
- Overrides, for the selected issue types, any status mappings provided instatusMappingsByWorkflows
. Status mappings are required when the new workflow for an issue type doesn't contain all statuses that the old workflow has. Status mappings can be provided by a combination ofstatusMappingsByWorkflows
andstatusMappingsByIssueTypeOverride
.statusMappingsByWorkflows
- The status mappings by workflows. Status mappings are required when the new workflow for an issue type doesn't contain all statuses that the old workflow has. Status mappings can be provided by a combination ofstatusMappingsByWorkflows
andstatusMappingsByIssueTypeOverride
.version
- versionworkflowsForIssueTypes
- Mappings from workflows to issue types.
-
WorkflowSchemeUpdateRequest
protected WorkflowSchemeUpdateRequest()
-
-
Method Details
-
builder
-
defaultWorkflowId
The ID of the workflow for issue types without having a mapping defined in this workflow scheme. Only used in global-scoped workflow schemes. If thedefaultWorkflowId
isn't specified, this is set to *Jira Workflow (jira)*. -
description
The new description for this workflow scheme. -
id
The ID of this workflow scheme. -
name
The new name for this workflow scheme. -
statusMappingsByIssueTypeOverride
Overrides, for the selected issue types, any status mappings provided instatusMappingsByWorkflows
. Status mappings are required when the new workflow for an issue type doesn't contain all statuses that the old workflow has. Status mappings can be provided by a combination ofstatusMappingsByWorkflows
andstatusMappingsByIssueTypeOverride
. -
statusMappingsByWorkflows
The status mappings by workflows. Status mappings are required when the new workflow for an issue type doesn't contain all statuses that the old workflow has. Status mappings can be provided by a combination ofstatusMappingsByWorkflows
andstatusMappingsByIssueTypeOverride
. -
version
-
workflowsForIssueTypes
Mappings from workflows to issue types. -
defaultWorkflowId
The ID of the workflow for issue types without having a mapping defined in this workflow scheme. Only used in global-scoped workflow schemes. If thedefaultWorkflowId
isn't specified, this is set to *Jira Workflow (jira)*.- Returns:
this
.
-
description
The new description for this workflow scheme.- Returns:
this
.
-
id
The ID of this workflow scheme.- Returns:
this
.
-
name
The new name for this workflow scheme.- Returns:
this
.
-
statusMappingsByIssueTypeOverride
public WorkflowSchemeUpdateRequest statusMappingsByIssueTypeOverride(List<MappingsByIssueTypeOverride> statusMappingsByIssueTypeOverride) Overrides, for the selected issue types, any status mappings provided instatusMappingsByWorkflows
. Status mappings are required when the new workflow for an issue type doesn't contain all statuses that the old workflow has. Status mappings can be provided by a combination ofstatusMappingsByWorkflows
andstatusMappingsByIssueTypeOverride
.- Returns:
this
.
-
statusMappingsByWorkflows
public WorkflowSchemeUpdateRequest statusMappingsByWorkflows(List<MappingsByWorkflow> statusMappingsByWorkflows) The status mappings by workflows. Status mappings are required when the new workflow for an issue type doesn't contain all statuses that the old workflow has. Status mappings can be provided by a combination ofstatusMappingsByWorkflows
andstatusMappingsByIssueTypeOverride
.- Returns:
this
.
-
version
- Returns:
this
.
-
workflowsForIssueTypes
public WorkflowSchemeUpdateRequest workflowsForIssueTypes(List<WorkflowSchemeAssociation> workflowsForIssueTypes) Mappings from workflows to issue types.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-