| Copyright | (C) 2017- Mark Andrus Roberts | 
|---|---|
| License | BSD-style (see the file LICENSE) | 
| Maintainer | Mark Andrus Roberts <markandrusroberts@gmail.com> | 
| Stability | provisional | 
| Safe Haskell | None | 
| Language | Haskell98 | 
Twilio.Types.List
Description
- class FromJSON b => List a b | a -> b where
- data PagingInformation = PagingInformation {- pageNumber :: !Integer
- numberOfPages :: !(Maybe Integer)
- pageSize :: !Integer
- total :: !(Maybe Integer)
- start :: !Integer
- end :: !Integer
- pageURI :: !(Maybe URI)
- firstPageURI :: !(Maybe URI)
- nextPageURI :: !(Maybe URI)
- previousPageURI :: !(Maybe URI)
- lastPageURI :: !(Maybe URI)
 
- data Wrapper a
- wrap :: a -> Wrapper a
Documentation
class FromJSON b => List a b | a -> b where #
Minimal complete definition
Methods
getListWrapper :: Wrapper (Maybe PagingInformation -> [b] -> a) #
The items in the List.
getPlural :: Const Text (a, b) #
The plural name for the items in the List.
parseJSONToList :: Value -> Parser a #
Parse a JSON Value to an instance of the List.
Instances
data PagingInformation #
Constructors
| PagingInformation | |
| Fields 
 | |
Instances