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:
  • Constructor Details

    • PolarisPaginationMeta

      public PolarisPaginationMeta()
  • Method Details

    • 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 class PolarisResponse
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class PolarisResponse