Class AbstractPageable
java.lang.Object
io.github.jeremylong.openvulnerability.client.ghsa.AbstractPageable
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CWEs,SecurityAdvisories.Advisories,Vulnerabilities
Base class for pageable responses from the GitHub Security Advisory API.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate PageInfoInformation about pagination.private static final longSerialization version UID.private intThe total count of items. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) PageInfoReturns the page information.(package private) intReturns the total count of items.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
totalCount
private int totalCountThe total count of items. -
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
-