twilio-0.2.0.1: 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.Account

Contents

Description

 

Synopsis

Resource

data AccountSID Source #

Instances

Bounded AccountSID Source # 
Eq AccountSID Source # 
Data AccountSID Source # 

Methods

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

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

toConstr :: AccountSID -> Constr #

dataTypeOf :: AccountSID -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord AccountSID Source # 
Read AccountSID Source # 
Show AccountSID Source # 
Ix AccountSID Source # 
IsString AccountSID Source # 
Generic AccountSID Source # 

Associated Types

type Rep AccountSID :: * -> * #

Hashable AccountSID Source # 
ToJSON AccountSID Source # 
FromJSON AccountSID Source # 
NFData AccountSID Source # 

Methods

rnf :: AccountSID -> () #

IsSID AccountSID Source # 
Get1 AccountSID Account Source # 
Monad m => MonadReader (Credentials, AccountSID) (TwilioT m) # 
type Rep AccountSID Source # 
type Rep AccountSID = D1 * (MetaData "AccountSID" "Twilio.Types.SIDs" "twilio-0.2.0.1-Cwy6vZAHYb886DlZ9eauoR" True) (C1 * (MetaCons "AccountSID" PrefixI True) (S1 * (MetaSel (Just Symbol "getAccountSID") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (SID A C))))

suspend :: Monad m => AccountSID -> TwilioT m () Source #

Suspends a subaccount by POST-ing the parameter status with the value Suspended.

Types