Klasse GetPageAncestorsOperationSpec

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

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

Specification for the GetPageAncestors operation.

Get all ancestors of page

  • Felddetails

    • VALIDATION_ENABLED

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

    • GetPageAncestorsOperationSpec

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

      @Internal public GetPageAncestorsOperationSpec(Long id, Integer limit)
      Constructs a validated instance of GetPageAncestorsOperationSpec.

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

      Parameter:
      id - The ID of the page.
      limit - Maximum number of pages per result to return. If more results exist, call this endpoint with the highest ancestor's ID to fetch the next set of results.
    • GetPageAncestorsOperationSpec

      protected GetPageAncestorsOperationSpec()
  • 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.
    • limit

      @Nullable public @Nullable Integer limit()
      Maximum number of pages per result to return. If more results exist, call this endpoint with the highest ancestor's ID to fetch the next set of results.
    • id

      public GetPageAncestorsOperationSpec id(@NotNull @NotNull Long id)
      The ID of the page.
      Gibt zurück:
      this.
    • limit

      public GetPageAncestorsOperationSpec limit(@Nullable @Nullable Integer limit)
      Maximum number of pages per result to return. If more results exist, call this endpoint with the highest ancestor's ID to fetch the next set of results.
      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