twilio-0.3.0.0: Twilio REST API library for Haskell

Copyright(C) 2017- Mark Andrus Roberts
LicenseBSD-style (see the file LICENSE)
MaintainerMark Andrus Roberts <markandrusroberts@gmail.com>
Stabilityprovisional
Safe HaskellNone
LanguageHaskell98

Twilio.Types.List

Description

 
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 Transcriptions Transcription Source # 
Instance details

Defined in Twilio.Transcriptions

List ShortCodes ShortCode Source # 
Instance details

Defined in Twilio.ShortCodes

List Recordings Recording Source # 
Instance details

Defined in Twilio.Recordings

List Members Member Source # 
Instance details

Defined in Twilio.Queue.Members

List Queues Queue Source # 
Instance details

Defined in Twilio.Queues

List OutgoingCallerIDs OutgoingCallerID Source # 
Instance details

Defined in Twilio.OutgoingCallerIDs

List MediaList Media Source # 
Instance details

Defined in Twilio.Message.MediaList

List Messages Message Source # 
Instance details

Defined in Twilio.Messages

List Participants Participant Source # 
Instance details

Defined in Twilio.Conference.Participants

List Conferences Conference Source # 
Instance details

Defined in Twilio.Conferences

List IncomingPhoneNumbers IncomingPhoneNumber Source # 
Instance details

Defined in Twilio.IncomingPhoneNumbers

List ConnectApps ConnectApp Source # 
Instance details

Defined in Twilio.ConnectApps

List Calls Call Source # 
Instance details

Defined in Twilio.Calls

List AvailablePhoneNumbers AvailablePhoneNumber Source # 
Instance details

Defined in Twilio.AvailablePhoneNumbers

List AuthorizedConnectApps AuthorizedConnectApp Source # 
Instance details

Defined in Twilio.AuthorizedConnectApps

List Applications Application Source # 
Instance details

Defined in Twilio.Applications

List Addresses Address Source # 
Instance details

Defined in Twilio.Addresses

List Accounts Account Source # 
Instance details

Defined in Twilio.Accounts

List APIKeys APIKey Source # 
Instance details

Defined in Twilio.APIKeys

List UsageRecords UsageRecord Source # 
Instance details

Defined in Twilio.UsageRecords

List UsageTriggers UsageTrigger Source # 
Instance details

Defined in Twilio.UsageTriggers

data PagingInformation Source #

Constructors

PagingInformation 

Fields

Instances
Eq PagingInformation Source # 
Instance details

Defined in Twilio.Types.List

Data PagingInformation Source # 
Instance details

Defined in Twilio.Types.List

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 # 
Instance details

Defined in Twilio.Types.List

Show PagingInformation Source # 
Instance details

Defined in Twilio.Types.List

Generic PagingInformation Source # 
Instance details

Defined in Twilio.Types.List

Associated Types

type Rep PagingInformation :: Type -> Type #

FromJSON PagingInformation Source # 
Instance details

Defined in Twilio.Types.List

type Rep PagingInformation Source # 
Instance details

Defined in Twilio.Types.List

wrap :: a -> Wrapper a Source #

wraps a value so as not to break encapsulation.