Klasse DeleteVersionOperationSpec

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

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

Specification for the DeleteVersion operation.

Delete version

  • Felddetails

    • VALIDATION_ENABLED

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

    • DeleteVersionOperationSpec

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

      @Internal public DeleteVersionOperationSpec(String id, String moveFixIssuesTo, String moveAffectedIssuesTo)
      Constructs a validated instance of DeleteVersionOperationSpec.

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

      Parameter:
      id - The ID of the version.
      moveFixIssuesTo - The ID of the version to update fixVersion to when the field contains the deleted version. The replacement version must be in the same project as the version being deleted and cannot be the version being deleted.
      moveAffectedIssuesTo - The ID of the version to update affectedVersion to when the field contains the deleted version. The replacement version must be in the same project as the version being deleted and cannot be the version being deleted.
    • DeleteVersionOperationSpec

      protected DeleteVersionOperationSpec()
  • Methodendetails

    • validate

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

    • id

      @NotNull public @NotNull String id()
      The ID of the version.
    • moveFixIssuesTo

      @Nullable public @Nullable String moveFixIssuesTo()
      The ID of the version to update fixVersion to when the field contains the deleted version. The replacement version must be in the same project as the version being deleted and cannot be the version being deleted.
    • moveAffectedIssuesTo

      @Nullable public @Nullable String moveAffectedIssuesTo()
      The ID of the version to update affectedVersion to when the field contains the deleted version. The replacement version must be in the same project as the version being deleted and cannot be the version being deleted.
    • id

      public DeleteVersionOperationSpec id(@NotNull @NotNull String id)
      The ID of the version.
      Gibt zurück:
      this.
    • moveFixIssuesTo

      public DeleteVersionOperationSpec moveFixIssuesTo(@Nullable @Nullable String moveFixIssuesTo)
      The ID of the version to update fixVersion to when the field contains the deleted version. The replacement version must be in the same project as the version being deleted and cannot be the version being deleted.
      Gibt zurück:
      this.
    • moveAffectedIssuesTo

      public DeleteVersionOperationSpec moveAffectedIssuesTo(@Nullable @Nullable String moveAffectedIssuesTo)
      The ID of the version to update affectedVersion to when the field contains the deleted version. The replacement version must be in the same project as the version being deleted and cannot be the version being deleted.
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object