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 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.
    • GetViewersR200

      protected GetViewersR200()
  • Method Details

    • id

      public Long id()
      The content ID.
    • count

      public Long count()
      The total number of distinct viewers for the content.
    • id

      public GetViewersR200 id(Long id)
      The content ID.
      Returns:
      this.
    • count

      public GetViewersR200 count(Long count)
      The total number of distinct viewers for the content.
      Returns:
      this.
    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object