Klasse DeleteComponentOperationSpec

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

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

Specification for the DeleteComponent operation.

Delete component

  • Felddetails

    • VALIDATION_ENABLED

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

    • DeleteComponentOperationSpec

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

      @Internal public DeleteComponentOperationSpec(String id, String moveIssuesTo)
      Constructs a validated instance of DeleteComponentOperationSpec.

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

      Parameter:
      id - The ID of the component.
      moveIssuesTo - The ID of the component to replace the deleted component. If this value is null no replacement is made.
    • DeleteComponentOperationSpec

      protected DeleteComponentOperationSpec()
  • 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 component.
    • moveIssuesTo

      @Nullable public @Nullable String moveIssuesTo()
      The ID of the component to replace the deleted component. If this value is null no replacement is made.
    • id

      public DeleteComponentOperationSpec id(@NotNull @NotNull String id)
      The ID of the component.
      Gibt zurück:
      this.
    • moveIssuesTo

      public DeleteComponentOperationSpec moveIssuesTo(@Nullable @Nullable String moveIssuesTo)
      The ID of the component to replace the deleted component. If this value is null no replacement is made.
      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