Klasse DeleteContentOperationSpec

java.lang.Object
io.github.primelib.confluence4j.rest.v1.spec.DeleteContentOperationSpec

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

Specification for the DeleteContent operation.

Delete content

  • Felddetails

    • VALIDATION_ENABLED

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

    • DeleteContentOperationSpec

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

      @Internal public DeleteContentOperationSpec(String id, String status)
      Constructs a validated instance of DeleteContentOperationSpec.

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

      Parameter:
      id - The ID of the content to be deleted.
      status - Set this to trashed, if the content's status is trashed and you want to purge it.
    • DeleteContentOperationSpec

      protected DeleteContentOperationSpec()
  • 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 content to be deleted.
    • status

      @Nullable public @Nullable String status()
      Set this to trashed, if the content's status is trashed and you want to purge it.
    • id

      public DeleteContentOperationSpec id(@NotNull @NotNull String id)
      The ID of the content to be deleted.
      Gibt zurück:
      this.
    • status

      public DeleteContentOperationSpec status(@Nullable @Nullable String status)
      Set this to trashed, if the content's status is trashed and you want to purge it.
      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