Class GetViewersR200

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

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

    • id

      protected Long id
      The content ID.
    • count

      protected Long count
      The total number of distinct viewers for the content.
  • Constructor Details

    • GetViewersR200

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

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

      @Internal public GetViewersR200(Long id, Long count)
      Constructs a validated instance of GetViewersR200.

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

      Parameters:
      id - The content ID.
      count - The total number of distinct viewers for the content.
  • Method Details

    • id

      public Long id()
      Fluent getter for id.

      The content ID.

      Returns:
      id
    • id

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

      The content ID.

      Parameters:
      id - id
      Returns:
      this
    • getId

      public Long getId()
      Gets the value of id.

      The content ID.

      Returns:
      id
    • setId

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

      The content ID.

      Parameters:
      id - id
    • count

      public Long count()
      Fluent getter for count.

      The total number of distinct viewers for the content.

      Returns:
      count
    • count

      public GetViewersR200 count(Long count)
      Fluent setter for count.

      The total number of distinct viewers for the content.

      Parameters:
      count - count
      Returns:
      this
    • getCount

      public Long getCount()
      Gets the value of count.

      The total number of distinct viewers for the content.

      Returns:
      count
    • setCount

      public void setCount(Long count)
      Sets the value of count.

      The total number of distinct viewers for the content.

      Parameters:
      count - count
    • 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