Class AncestorsItem

java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.AncestorsItem

@Generated("io.github.primelib.primecodegen") public class AncestorsItem extends Object
AncestorsItem
  • Field Details

    • id

      protected String id
      The content ID of the ancestor.
  • Constructor Details

    • AncestorsItem

      public AncestorsItem(Consumer<AncestorsItem> spec)
      Constructs a validated instance of AncestorsItem.
      Parameters:
      spec - the specification to process
    • AncestorsItem

      @Internal protected AncestorsItem()
      Protected no-args constructor for use by serialization frameworks.
    • AncestorsItem

      @Internal public AncestorsItem(String id)
      Constructs a validated instance of AncestorsItem.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using AncestorsItem(Consumer) instead.

      Parameters:
      id - The content ID of the ancestor.
  • Method Details

    • id

      public String id()
      Fluent getter for id.

      The content ID of the ancestor.

      Returns:
      id
    • id

      public AncestorsItem id(String id)
      Fluent setter for id.

      The content ID of the ancestor.

      Parameters:
      id - id
      Returns:
      this
    • getId

      public String getId()
      Gets the value of id.

      The content ID of the ancestor.

      Returns:
      id
    • setId

      public void setId(String id)
      Sets the value of id.

      The content ID of the ancestor.

      Parameters:
      id - id
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object