PaginationInfo

PaginationInfo

Represents pagination information.

Constructor

new PaginationInfo(totalCount, rangeSize, rangeStart, status)

Description:
  • Creates an instance of the PaginationInfo class.
Source:
Parameters:
Name Type Description
totalCount number The total count.
rangeSize number The range size.
rangeStart number The range start.
status string The status.

Methods

getRangeSize() → {number}

Description:
  • Gets the range size.
Source:
Returns:
The range size.
Type
number

getRangeStart() → {number}

Description:
  • Gets the range start.
Source:
Returns:
The range start.
Type
number

getStatus() → {string}

Description:
  • Gets the status.
Source:
Returns:
The status.
Type
string

getTotalCount() → {number}

Description:
  • Gets the total count.
Source:
Returns:
The total count.
Type
number

setRangeSize(rangeSize)

Description:
  • Sets the range size.
Source:
Parameters:
Name Type Description
rangeSize number The range size to set.
Returns:
The updated instance of the PaginationInfo.

setRangeStart(rangeStart)

Description:
  • Sets the range start.
Source:
Parameters:
Name Type Description
rangeStart number The range start to set.
Returns:
The updated instance of the PaginationInfo.

setStatus(status)

Description:
  • Sets the status.
Source:
Parameters:
Name Type Description
status string The status to set.
Returns:
The updated instance of the PaginationInfo.

setTotalCount(totalCount)

Description:
  • Sets the total count.
Source:
Parameters:
Name Type Description
totalCount number The total count to set.
Returns:
The updated instance of the PaginationInfo.