Class PolarisPaginationMeta
java.lang.Object
com.blackduck.integration.util.Stringable
com.blackduck.integration.polaris.common.api.PolarisResponse
com.blackduck.integration.polaris.common.api.PolarisPaginationMeta
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getLimit()
The maximum number of elements returned for this request.The offset used for this request.getTotal()
The total number of results matching the provided criteria, without regard to the provided offset or limit.int
hashCode()
void
setLimit
(BigDecimal limit) void
setOffset
(BigDecimal offset) void
setTotal
(BigDecimal total) Methods inherited from class com.blackduck.integration.polaris.common.api.PolarisResponse
getJson, setJson
Methods inherited from class com.blackduck.integration.util.Stringable
toString
-
Constructor Details
-
PolarisPaginationMeta
public PolarisPaginationMeta()
-
-
Method Details
-
getOffset
The offset used for this request. If null, no offset was applied.- Returns:
- offset
-
setOffset
-
getLimit
The maximum number of elements returned for this request. If null, no limit was applied.- Returns:
- limit
-
setLimit
-
getTotal
The total number of results matching the provided criteria, without regard to the provided offset or limit.- Returns:
- total
-
setTotal
-
equals
- Overrides:
equals
in classPolarisResponse
-
hashCode
public int hashCode()- Overrides:
hashCode
in classPolarisResponse
-