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
  • Field Details

    • defaultWorkflowId

      protected String 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 the defaultWorkflowId isn't specified, this is set to *Jira Workflow (jira)*.
    • description

      protected String description
      The new description for this workflow scheme.
    • id

      protected String id
      The ID of this workflow scheme.
    • name

      protected String name
      The new name for this workflow scheme.
    • statusMappingsByIssueTypeOverride

      protected List<MappingsByIssueTypeOverride> statusMappingsByIssueTypeOverride
      Overrides, for the selected issue types, any status mappings provided in statusMappingsByWorkflows. 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 of statusMappingsByWorkflows and statusMappingsByIssueTypeOverride.
    • statusMappingsByWorkflows

      protected 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 of statusMappingsByWorkflows and statusMappingsByIssueTypeOverride.
    • version

      protected DocumentVersion version
    • workflowsForIssueTypes

      protected List<WorkflowSchemeAssociation> workflowsForIssueTypes
      Mappings from workflows to issue types.
  • Constructor Details

    • WorkflowSchemeUpdateRequest

      public WorkflowSchemeUpdateRequest(Consumer<WorkflowSchemeUpdateRequest> spec)
      Constructs a validated instance of WorkflowSchemeUpdateRequest.
      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 of WorkflowSchemeUpdateRequest.

      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 the defaultWorkflowId 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 in statusMappingsByWorkflows. 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 of statusMappingsByWorkflows and statusMappingsByIssueTypeOverride.
      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 of statusMappingsByWorkflows and statusMappingsByIssueTypeOverride.
      version - version
      workflowsForIssueTypes - Mappings from workflows to issue types.
    • WorkflowSchemeUpdateRequest

      protected WorkflowSchemeUpdateRequest()
  • Method Details

    • builder

    • defaultWorkflowId

      public String 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 the defaultWorkflowId isn't specified, this is set to *Jira Workflow (jira)*.
    • description

      public String description()
      The new description for this workflow scheme.
    • id

      public String id()
      The ID of this workflow scheme.
    • name

      public String name()
      The new name for this workflow scheme.
    • statusMappingsByIssueTypeOverride

      public List<MappingsByIssueTypeOverride> statusMappingsByIssueTypeOverride()
      Overrides, for the selected issue types, any status mappings provided in statusMappingsByWorkflows. 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 of statusMappingsByWorkflows and statusMappingsByIssueTypeOverride.
    • statusMappingsByWorkflows

      public 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 of statusMappingsByWorkflows and statusMappingsByIssueTypeOverride.
    • version

      public DocumentVersion version()
    • workflowsForIssueTypes

      public List<WorkflowSchemeAssociation> workflowsForIssueTypes()
      Mappings from workflows to issue types.
    • defaultWorkflowId

      public WorkflowSchemeUpdateRequest defaultWorkflowId(String 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 the defaultWorkflowId isn't specified, this is set to *Jira Workflow (jira)*.
      Returns:
      this.
    • description

      public WorkflowSchemeUpdateRequest description(String description)
      The new description for this workflow scheme.
      Returns:
      this.
    • id

      The ID of this workflow scheme.
      Returns:
      this.
    • name

      public WorkflowSchemeUpdateRequest name(String 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 in statusMappingsByWorkflows. 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 of statusMappingsByWorkflows and statusMappingsByIssueTypeOverride.
      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 of statusMappingsByWorkflows and statusMappingsByIssueTypeOverride.
      Returns:
      this.
    • version

      public WorkflowSchemeUpdateRequest version(DocumentVersion version)
      Returns:
      this.
    • workflowsForIssueTypes

      public WorkflowSchemeUpdateRequest workflowsForIssueTypes(List<WorkflowSchemeAssociation> workflowsForIssueTypes)
      Mappings from workflows to issue types.
      Returns:
      this.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object