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 TypeMethodDescriptionbooleangetLimit()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.inthashCode()voidsetLimit(BigDecimal limit) voidsetOffset(BigDecimal offset) voidsetTotal(BigDecimal total) Methods inherited from class com.blackduck.integration.polaris.common.api.PolarisResponse
getJson, setJsonMethods 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:
equalsin classPolarisResponse
-
hashCode
public int hashCode()- Overrides:
hashCodein classPolarisResponse
-