Class PagesItem

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

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

    • id

      protected Long id
      The `id` of the page to be archived.
  • Constructor Details

    • PagesItem

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

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

      @Internal public PagesItem(Long id)
      Constructs a validated instance of PagesItem.

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

      Parameters:
      id - The `id` of the page to be archived.
  • Method Details

    • id

      public Long id()
      Fluent getter for id.

      The `id` of the page to be archived.

      Returns:
      id
    • id

      public PagesItem id(Long id)
      Fluent setter for id.

      The `id` of the page to be archived.

      Parameters:
      id - id
      Returns:
      this
    • getId

      public Long getId()
      Gets the value of id.

      The `id` of the page to be archived.

      Returns:
      id
    • setId

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

      The `id` of the page to be archived.

      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