Class DeleteWorkflowMappingOperationSpec

java.lang.Object
io.github.primelib.jira4j.restv2.spec.DeleteWorkflowMappingOperationSpec

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

Specification for the DeleteWorkflowMapping operation.

Delete issue types for workflow in workflow scheme

  • Field Details

    • VALIDATION_ENABLED

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

    • DeleteWorkflowMappingOperationSpec

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

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

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

      Parameters:
      id - The ID of the workflow scheme.
      workflowName - The name of the workflow.
      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.
    • DeleteWorkflowMappingOperationSpec

      protected DeleteWorkflowMappingOperationSpec()
  • 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.
    • workflowName

      @NotNull public @NotNull String workflowName()
      The name of the workflow.
    • 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 DeleteWorkflowMappingOperationSpec id(@NotNull @NotNull Long id)
      The ID of the workflow scheme.
      Returns:
      this.
    • workflowName

      public DeleteWorkflowMappingOperationSpec workflowName(@NotNull @NotNull String workflowName)
      The name of the workflow.
      Returns:
      this.
    • updateDraftIfNeeded

      public DeleteWorkflowMappingOperationSpec 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