Work with Paging

Use the Paging class to work with paging information, such as pagination on a list of files matching a search query or a list of access log entries.

Represents paging information, such as the page of records returned from a search query. Use Paging with SearchResult to work with results returned from a search query. See Slack's search.all method.

The following are methods for Paging.

Gets the number of records per page.

Signature

Return Value

Type: Integer

Signature

Return Value

Type: String

Gets the page of records returned.

Signature

Return Value

Type: Integer

Gets the total number of pages matching the query.

Signature

Return Value

Type: Integer

Signature

Return Value

Type: Integer

Signature

Return Value

Type: Integer

Signature

Return Value

Type: Integer

Signature

Parameters

count

Type: Integer

Return Value

Type: void

Signature

Parameters

iid

Type: String

Return Value

Type: void

Signature

Parameters

page

Type: Integer

Return Value

Type: void

Signature

Parameters

pages

Type: Integer

Return Value

Type: void

Signature

Parameters

perPage

Type: Integer

Return Value

Type: void

Signature

Parameters

spill

Type: Integer

Return Value

Type: void

Signature

Parameters

total

Type: Integer

Return Value

Type: void