twilio-0.1.2.0: Twilio REST API library for Haskell

Safe HaskellNone
LanguageHaskell98

Twilio.Types.List

Synopsis

Documentation

data PagingInformation Source

Constructors

PagingInformation 

Fields

pageNumber :: !Integer

The current page number. Zero-indexed, so the first page is 0.

numberOfPages :: !Integer

The total number of pages.

pageSize :: !Integer

How many items are in each page.

total :: !Integer

The total number of items in the list.

start :: !Integer

The position in the overall list of the first item in this page.

end :: !Integer

The position in the overall list of the last item in this page.

pageURI :: !(Maybe URI)

The URI of the current page.

firstPageURI :: !(Maybe URI)

The URI for the first page of this list.

nextPageURI :: !(Maybe URI)

The URI for the next page of this list.

previousPageURI :: !(Maybe URI)

The URI for the previous page of this list.

lastPageURI :: !(Maybe URI)

The URI for the last page of this list.

wrap :: a -> Wrapper a Source

wraps a value so as not to break encapsulation.