twilio-0.1.3.2: Twilio REST API library for Haskell

Safe HaskellNone
LanguageHaskell98

Twilio.Types.List

Synopsis

Documentation

class FromJSON b => List a b | a -> b where Source #

Minimal complete definition

getListWrapper, getList, getPlural

Methods

getListWrapper :: Wrapper (Maybe PagingInformation -> [b] -> a) Source #

Get the wrap-ed constructor of the List.

getList :: a -> [b] Source #

The items in the List.

getPlural :: Const Text (a, b) Source #

The plural name for the items in the List.

parseJSONToList :: Value -> Parser a Source #

Parse a JSON Value to an instance of the List.

Instances

List APIKeys APIKey Source # 
List Accounts Account Source # 
List Addresses Address Source # 
List Applications Application Source # 
List AuthorizedConnectApps AuthorizedConnectApp Source # 
List AvailablePhoneNumbers AvailablePhoneNumber Source # 
List Calls Call Source # 
List Participants Participant Source # 
List Conferences Conference Source # 
List ConnectApps ConnectApp Source # 
List IncomingPhoneNumbers IncomingPhoneNumber Source # 
List MediaList Media Source # 
List Messages Message Source # 
List OutgoingCallerIDs OutgoingCallerID Source # 
List Members Member Source # 
List Queues Queue Source # 
List Recordings Recording Source # 
List ShortCodes ShortCode Source # 
List Transcriptions Transcription Source # 
List UsageRecords UsageRecord Source # 
List UsageTriggers UsageTrigger Source # 

data PagingInformation Source #

Constructors

PagingInformation 

Fields

Instances

Eq PagingInformation Source # 
Data PagingInformation Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PagingInformation -> c PagingInformation #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PagingInformation #

toConstr :: PagingInformation -> Constr #

dataTypeOf :: PagingInformation -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PagingInformation) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PagingInformation) #

gmapT :: (forall b. Data b => b -> b) -> PagingInformation -> PagingInformation #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PagingInformation -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PagingInformation -> r #

gmapQ :: (forall d. Data d => d -> u) -> PagingInformation -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PagingInformation -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PagingInformation -> m PagingInformation #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PagingInformation -> m PagingInformation #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PagingInformation -> m PagingInformation #

Ord PagingInformation Source # 
Show PagingInformation Source # 
Generic PagingInformation Source # 
FromJSON PagingInformation Source # 
type Rep PagingInformation Source # 

wrap :: a -> Wrapper a Source #

wraps a value so as not to break encapsulation.