Klasse UpdatePageOperationSpec

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

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

Specification for the UpdatePage operation.

Update page

  • Felddetails

    • VALIDATION_ENABLED

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

    • UpdatePageOperationSpec

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

      @Internal public UpdatePageOperationSpec(Long id, UpdatePageRequest updatePageRequest)
      Constructs a validated instance of UpdatePageOperationSpec.

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

      Parameter:
      id - The ID of the page to be updated. If you don't know the page ID, use Get Pages and filter the results.
      updatePageRequest -
    • UpdatePageOperationSpec

      protected UpdatePageOperationSpec()
  • 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 updated. If you don't know the page ID, use Get Pages and filter the results.
    • updatePageRequest

      @NotNull public @NotNull UpdatePageRequest updatePageRequest()
    • id

      public UpdatePageOperationSpec id(@NotNull @NotNull Long id)
      The ID of the page to be updated. If you don't know the page ID, use Get Pages and filter the results.
      Gibt zurück:
      this.
    • updatePageRequest

      public UpdatePageOperationSpec updatePageRequest(@NotNull @NotNull UpdatePageRequest updatePageRequest)
      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