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
public class PolarisPaginationMeta extends PolarisResponse
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PolarisPaginationMeta()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
BigDecimal
getLimit()
The maximum number of elements returned for this request.BigDecimal
getOffset()
The offset used for this request.BigDecimal
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
-
-
-
-
Method Detail
-
getOffset
public BigDecimal getOffset()
The offset used for this request. If null, no offset was applied.- Returns:
- offset
-
setOffset
public void setOffset(BigDecimal offset)
-
getLimit
public BigDecimal getLimit()
The maximum number of elements returned for this request. If null, no limit was applied.- Returns:
- limit
-
setLimit
public void setLimit(BigDecimal limit)
-
getTotal
public BigDecimal getTotal()
The total number of results matching the provided criteria, without regard to the provided offset or limit.- Returns:
- total
-
setTotal
public void setTotal(BigDecimal total)
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classPolarisResponse
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classPolarisResponse
-
-