Klasse DeletePageOperationSpec

java.lang.Object
io.github.primelib.confluence4j.rest.v2.spec.DeletePageOperationSpec

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

Specification for the DeletePage operation.

Delete page

  • Felddetails

    • VALIDATION_ENABLED

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

    • DeletePageOperationSpec

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

      @Internal public DeletePageOperationSpec(Long id, Boolean purge, Boolean draft)
      Constructs a validated instance of DeletePageOperationSpec.

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

      Parameter:
      id - The ID of the page to be deleted.
      purge - If attempting to purge the page.
      draft - If attempting to delete a page that is a draft.
    • DeletePageOperationSpec

      protected DeletePageOperationSpec()
  • 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 Long id()
      The ID of the page to be deleted.
    • purge

      @Nullable public @Nullable Boolean purge()
      If attempting to purge the page.
    • draft

      @Nullable public @Nullable Boolean draft()
      If attempting to delete a page that is a draft.
    • id

      public DeletePageOperationSpec id(@NotNull @NotNull Long id)
      The ID of the page to be deleted.
      Gibt zurück:
      this.
    • purge

      public DeletePageOperationSpec purge(@Nullable @Nullable Boolean purge)
      If attempting to purge the page.
      Gibt zurück:
      this.
    • draft

      public DeletePageOperationSpec draft(@Nullable @Nullable Boolean draft)
      If attempting to delete a page that is a draft.
      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