Class AbstractPageable

java.lang.Object
io.github.jeremylong.openvulnerability.client.ghsa.AbstractPageable
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CWEs, SecurityAdvisories.Advisories, Vulnerabilities

public class AbstractPageable extends Object implements Serializable
Base class for pageable responses from the GitHub Security Advisory API.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Serialization version UID.
      See Also:
    • totalCount

      private int totalCount
      The total count of items.
    • pageInfo

      private PageInfo pageInfo
      Information about pagination.
  • Constructor Details

    • AbstractPageable

      public AbstractPageable()
  • Method Details

    • getTotalCount

      int getTotalCount()
      Returns the total count of items.
      Returns:
      the total count
    • getPageInfo

      PageInfo getPageInfo()
      Returns the page information.
      Returns:
      the page information