Class DeleteProjectOperationSpec

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

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

Specification for the DeleteProject operation.

Delete project

  • Field Details

    • VALIDATION_ENABLED

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

    • DeleteProjectOperationSpec

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

      @Internal public DeleteProjectOperationSpec(String projectIdOrKey, Boolean enableUndo)
      Constructs a validated instance of DeleteProjectOperationSpec.

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

      Parameters:
      projectIdOrKey - The project ID or project key (case sensitive).
      enableUndo - Whether this project is placed in the Jira recycle bin where it will be available for restoration.
    • DeleteProjectOperationSpec

      protected DeleteProjectOperationSpec()
  • Method Details

    • validate

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

    • projectIdOrKey

      @NotNull public @NotNull String projectIdOrKey()
      The project ID or project key (case sensitive).
    • enableUndo

      @Nullable public @Nullable Boolean enableUndo()
      Whether this project is placed in the Jira recycle bin where it will be available for restoration.
    • projectIdOrKey

      public DeleteProjectOperationSpec projectIdOrKey(@NotNull @NotNull String projectIdOrKey)
      The project ID or project key (case sensitive).
      Returns:
      this.
    • enableUndo

      public DeleteProjectOperationSpec enableUndo(@Nullable @Nullable Boolean enableUndo)
      Whether this project is placed in the Jira recycle bin where it will be available for restoration.
      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