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.Account

Contents

Description

 
Synopsis

Resource

data Account Source #

Instances
Eq Account Source # 
Instance details

Defined in Twilio.Account

Methods

(==) :: Account -> Account -> Bool #

(/=) :: Account -> Account -> Bool #

Ord Account Source # 
Instance details

Defined in Twilio.Account

Show Account Source # 
Instance details

Defined in Twilio.Account

FromJSON Account Source # 
Instance details

Defined in Twilio.Account

Post0 Account Source # 
Instance details

Defined in Twilio.Accounts

List Accounts Account Source # 
Instance details

Defined in Twilio.Accounts

Post1 Text Account Source # 
Instance details

Defined in Twilio.Accounts

Get1 AccountSID Account Source # 
Instance details

Defined in Twilio.Account

Post1 (Maybe Text) Account Source # 
Instance details

Defined in Twilio.Accounts

data AccountSID Source #

Instances
Bounded AccountSID Source # 
Instance details

Defined in Twilio.Types.SIDs

Eq AccountSID Source # 
Instance details

Defined in Twilio.Types.SIDs

Data AccountSID Source # 
Instance details

Defined in Twilio.Types.SIDs

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

Defined in Twilio.Types.SIDs

Read AccountSID Source # 
Instance details

Defined in Twilio.Types.SIDs

Show AccountSID Source # 
Instance details

Defined in Twilio.Types.SIDs

Ix AccountSID Source # 
Instance details

Defined in Twilio.Types.SIDs

IsString AccountSID Source # 
Instance details

Defined in Twilio.Types.SIDs

Generic AccountSID Source # 
Instance details

Defined in Twilio.Types.SIDs

Associated Types

type Rep AccountSID :: Type -> Type #

Hashable AccountSID Source # 
Instance details

Defined in Twilio.Types.SIDs

ToJSON AccountSID Source # 
Instance details

Defined in Twilio.Types.SIDs

FromJSON AccountSID Source # 
Instance details

Defined in Twilio.Types.SIDs

NFData AccountSID Source # 
Instance details

Defined in Twilio.Types.SIDs

Methods

rnf :: AccountSID -> () #

IsSID AccountSID Source # 
Instance details

Defined in Twilio.Types.SIDs

Get1 AccountSID Account Source # 
Instance details

Defined in Twilio.Account

Monad m => MonadReader (Credentials, AccountSID) (TwilioT m) Source # 
Instance details

Defined in Control.Monad.Twilio

type Rep AccountSID Source # 
Instance details

Defined in Twilio.Types.SIDs

type Rep AccountSID = D1 (MetaData "AccountSID" "Twilio.Types.SIDs" "twilio-0.3.0.0-1lpPNPa4b89HUIQeQ4pFjg" True) (C1 (MetaCons "AccountSID" PrefixI True) (S1 (MetaSel (Just "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

data Status Source #

Constructors

Active 
Suspended 
Closed 
Instances
Bounded Status Source # 
Instance details

Defined in Twilio.Account

Enum Status Source # 
Instance details

Defined in Twilio.Account

Eq Status Source # 
Instance details

Defined in Twilio.Account

Methods

(==) :: Status -> Status -> Bool #

(/=) :: Status -> Status -> Bool #

Ord Status Source # 
Instance details

Defined in Twilio.Account

Read Status Source # 
Instance details

Defined in Twilio.Account

Show Status Source # 
Instance details

Defined in Twilio.Account

FromJSON Status Source # 
Instance details

Defined in Twilio.Account

data Type Source #

Constructors

Full 
Trial 
Instances
Bounded Type Source # 
Instance details

Defined in Twilio.Account

Enum Type Source # 
Instance details

Defined in Twilio.Account

Methods

succ :: Type -> Type #

pred :: Type -> Type #

toEnum :: Int -> Type #

fromEnum :: Type -> Int #

enumFrom :: Type -> [Type] #

enumFromThen :: Type -> Type -> [Type] #

enumFromTo :: Type -> Type -> [Type] #

enumFromThenTo :: Type -> Type -> Type -> [Type] #

Eq Type Source # 
Instance details

Defined in Twilio.Account

Methods

(==) :: Type -> Type -> Bool #

(/=) :: Type -> Type -> Bool #

Ord Type Source # 
Instance details

Defined in Twilio.Account

Methods

compare :: Type -> Type -> Ordering #

(<) :: Type -> Type -> Bool #

(<=) :: Type -> Type -> Bool #

(>) :: Type -> Type -> Bool #

(>=) :: Type -> Type -> Bool #

max :: Type -> Type -> Type #

min :: Type -> Type -> Type #

Read Type Source # 
Instance details

Defined in Twilio.Account

Show Type Source # 
Instance details

Defined in Twilio.Account

Methods

showsPrec :: Int -> Type -> ShowS #

show :: Type -> String #

showList :: [Type] -> ShowS #

FromJSON Type Source # 
Instance details

Defined in Twilio.Account