Class JiraWorkflow

java.lang.Object
io.github.primelib.jira4j.restv3.model.JiraWorkflow

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class JiraWorkflow extends Object
JiraWorkflow
  • Field Details

    • description

      protected String description
      The description of the workflow.
    • id

      protected String id
      The ID of the workflow.
    • isEditable

      protected Boolean isEditable
      Indicates if the workflow can be edited.
    • name

      protected String name
      The name of the workflow.
    • scope

      protected WorkflowScope scope
    • startPointLayout

      protected WorkflowLayout startPointLayout
    • statuses

      protected Set<WorkflowReferenceStatus> statuses
      The statuses referenced in this workflow.
    • taskId

      protected String taskId
      If there is a current [asynchronous task](#async-operations) operation for this workflow.
    • transitions

      protected Set<WorkflowTransitions> transitions
      The transitions of the workflow.
    • usages

      protected Set<ProjectIssueTypes> usages
      Use the optional workflows.usages expand to get additional information about the projects and issue types associated with the requested workflows.
    • version

      protected DocumentVersion version
  • Constructor Details

    • JiraWorkflow

      public JiraWorkflow(Consumer<JiraWorkflow> spec)
      Constructs a validated instance of JiraWorkflow.
      Parameters:
      spec - the specification to process
    • JiraWorkflow

      @Internal public JiraWorkflow(String description, String id, Boolean isEditable, String name, WorkflowScope scope, WorkflowLayout startPointLayout, Set<WorkflowReferenceStatus> statuses, String taskId, Set<WorkflowTransitions> transitions, Set<ProjectIssueTypes> usages, DocumentVersion version)
      Constructs a validated instance of JiraWorkflow.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using JiraWorkflow(Consumer) instead.

      Parameters:
      description - The description of the workflow.
      id - The ID of the workflow.
      isEditable - Indicates if the workflow can be edited.
      name - The name of the workflow.
      scope - scope
      startPointLayout - startPointLayout
      statuses - The statuses referenced in this workflow.
      taskId - If there is a current [asynchronous task](#async-operations) operation for this workflow.
      transitions - The transitions of the workflow.
      usages - Use the optional workflows.usages expand to get additional information about the projects and issue types associated with the requested workflows.
      version - version
    • JiraWorkflow

      protected JiraWorkflow()
  • Method Details

    • builder

      public static JiraWorkflow.JiraWorkflowBuilder builder()
    • description

      public String description()
      The description of the workflow.
    • id

      public String id()
      The ID of the workflow.
    • isEditable

      public Boolean isEditable()
      Indicates if the workflow can be edited.
    • name

      public String name()
      The name of the workflow.
    • scope

      public WorkflowScope scope()
    • startPointLayout

      public WorkflowLayout startPointLayout()
    • statuses

      public Set<WorkflowReferenceStatus> statuses()
      The statuses referenced in this workflow.
    • taskId

      public String taskId()
      If there is a current [asynchronous task](#async-operations) operation for this workflow.
    • transitions

      public Set<WorkflowTransitions> transitions()
      The transitions of the workflow.
    • usages

      public Set<ProjectIssueTypes> usages()
      Use the optional workflows.usages expand to get additional information about the projects and issue types associated with the requested workflows.
    • version

      public DocumentVersion version()
    • description

      public JiraWorkflow description(String description)
      The description of the workflow.
      Returns:
      this.
    • id

      public JiraWorkflow id(String id)
      The ID of the workflow.
      Returns:
      this.
    • isEditable

      public JiraWorkflow isEditable(Boolean isEditable)
      Indicates if the workflow can be edited.
      Returns:
      this.
    • name

      public JiraWorkflow name(String name)
      The name of the workflow.
      Returns:
      this.
    • scope

      public JiraWorkflow scope(WorkflowScope scope)
      Returns:
      this.
    • startPointLayout

      public JiraWorkflow startPointLayout(WorkflowLayout startPointLayout)
      Returns:
      this.
    • statuses

      public JiraWorkflow statuses(Set<WorkflowReferenceStatus> statuses)
      The statuses referenced in this workflow.
      Returns:
      this.
    • taskId

      public JiraWorkflow taskId(String taskId)
      If there is a current [asynchronous task](#async-operations) operation for this workflow.
      Returns:
      this.
    • transitions

      public JiraWorkflow transitions(Set<WorkflowTransitions> transitions)
      The transitions of the workflow.
      Returns:
      this.
    • usages

      public JiraWorkflow usages(Set<ProjectIssueTypes> usages)
      Use the optional workflows.usages expand to get additional information about the projects and issue types associated with the requested workflows.
      Returns:
      this.
    • version

      public JiraWorkflow version(DocumentVersion version)
      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