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

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

    • id

      protected Long id
      The content ID.
    • count

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

    • GetViewsR200

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

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

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

      Parameters:
      id - The content ID.
      count - The total number of views for the content.
    • GetViewsR200

      protected GetViewsR200()
  • Method Details

    • id

      public Long id()
      The content ID.
    • count

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

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

      public GetViewsR200 count(Long count)
      The total number of views 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