Class DeleteProjectPropertyOperationSpec

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

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

Specification for the DeleteProjectProperty operation.

Delete project property

  • Field Details

    • VALIDATION_ENABLED

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

    • DeleteProjectPropertyOperationSpec

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

      @Internal public DeleteProjectPropertyOperationSpec(String projectIdOrKey, String propertyKey)
      Constructs a validated instance of DeleteProjectPropertyOperationSpec.

      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).
      propertyKey - The project property key. Use [Get project property keys](#api-rest-api-2-project-projectIdOrKey-properties-get) to get a list of all project property keys.
    • DeleteProjectPropertyOperationSpec

      protected DeleteProjectPropertyOperationSpec()
  • 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).
    • propertyKey

      @NotNull public @NotNull String propertyKey()
      The project property key. Use [Get project property keys](#api-rest-api-2-project-projectIdOrKey-properties-get) to get a list of all project property keys.
    • projectIdOrKey

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

      public DeleteProjectPropertyOperationSpec propertyKey(@NotNull @NotNull String propertyKey)
      The project property key. Use [Get project property keys](#api-rest-api-2-project-projectIdOrKey-properties-get) to get a list of all project property keys.
      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