Class DeleteDefaultWorkflowOperationSpec

java.lang.Object
io.github.primelib.jira4j.restv3.spec.DeleteDefaultWorkflowOperationSpec

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class DeleteDefaultWorkflowOperationSpec extends Object
DeleteDefaultWorkflowSpec

Specification for the DeleteDefaultWorkflow operation.

Delete default workflow

  • Field Details

    • VALIDATION_ENABLED

      @Experimental public static Boolean VALIDATION_ENABLED
      allows to disable validation of the spec, use with care!
  • Constructor Details

    • DeleteDefaultWorkflowOperationSpec

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

      @Internal public DeleteDefaultWorkflowOperationSpec(Long id, Boolean updateDraftIfNeeded)
      Constructs a validated instance of DeleteDefaultWorkflowOperationSpec.

      NOTE: This constructor is not considered stable and may change if the operation is updated.

      Parameters:
      id - The ID of the workflow scheme.
      updateDraftIfNeeded - Set to true to create or update the draft of a workflow scheme and delete the mapping from the draft, when the workflow scheme cannot be edited. Defaults to false.
    • DeleteDefaultWorkflowOperationSpec

      protected DeleteDefaultWorkflowOperationSpec()
  • Method Details

    • validate

      public void validate()
      Validates the Spec, will throw a exception if required parameters are missing
      Throws:
      NullPointerException
    • builder

    • id

      @NotNull public @NotNull Long id()
      The ID of the workflow scheme.
    • updateDraftIfNeeded

      @Nullable public @Nullable Boolean updateDraftIfNeeded()
      Set to true to create or update the draft of a workflow scheme and delete the mapping from the draft, when the workflow scheme cannot be edited. Defaults to false.
    • id

      public DeleteDefaultWorkflowOperationSpec id(@NotNull @NotNull Long id)
      The ID of the workflow scheme.
      Returns:
      this.
    • updateDraftIfNeeded

      public DeleteDefaultWorkflowOperationSpec updateDraftIfNeeded(@Nullable @Nullable Boolean updateDraftIfNeeded)
      Set to true to create or update the draft of a workflow scheme and delete the mapping from the draft, when the workflow scheme cannot be edited. Defaults to false.
      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