Class DefaultWorkflow

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

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

    • updateDraftIfNeeded

      protected Boolean updateDraftIfNeeded
      Whether a draft workflow scheme is created or updated when updating an active workflow scheme. The draft is updated with the new default workflow. Defaults to false.
    • workflow

      protected String workflow
      The name of the workflow to set as the default workflow.
  • Constructor Details

    • DefaultWorkflow

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

      @Internal public DefaultWorkflow(Boolean updateDraftIfNeeded, String workflow)
      Constructs a validated instance of DefaultWorkflow.

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

      Parameters:
      updateDraftIfNeeded - Whether a draft workflow scheme is created or updated when updating an active workflow scheme. The draft is updated with the new default workflow. Defaults to false.
      workflow - The name of the workflow to set as the default workflow.
    • DefaultWorkflow

      protected DefaultWorkflow()
  • Method Details

    • builder

      public static DefaultWorkflow.DefaultWorkflowBuilder builder()
    • updateDraftIfNeeded

      public Boolean updateDraftIfNeeded()
      Whether a draft workflow scheme is created or updated when updating an active workflow scheme. The draft is updated with the new default workflow. Defaults to false.
    • workflow

      public String workflow()
      The name of the workflow to set as the default workflow.
    • updateDraftIfNeeded

      public DefaultWorkflow updateDraftIfNeeded(Boolean updateDraftIfNeeded)
      Whether a draft workflow scheme is created or updated when updating an active workflow scheme. The draft is updated with the new default workflow. Defaults to false.
      Returns:
      this.
    • workflow

      public DefaultWorkflow workflow(String workflow)
      The name of the workflow to set as the default workflow.
      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