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.Call.Feedback

Contents

Description

 
Synopsis

Resource

data Feedback Source #

Feedback is a subresource of a Call instance resource. It represents a call quality feedback entry for a given phone call.

Instances
Eq Feedback Source # 
Instance details

Defined in Twilio.Call.Feedback

Data Feedback Source # 
Instance details

Defined in Twilio.Call.Feedback

Methods

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

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

toConstr :: Feedback -> Constr #

dataTypeOf :: Feedback -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Feedback Source # 
Instance details

Defined in Twilio.Call.Feedback

Read Feedback Source # 
Instance details

Defined in Twilio.Call.Feedback

Show Feedback Source # 
Instance details

Defined in Twilio.Call.Feedback

Generic Feedback Source # 
Instance details

Defined in Twilio.Call.Feedback

Associated Types

type Rep Feedback :: Type -> Type #

Methods

from :: Feedback -> Rep Feedback x #

to :: Rep Feedback x -> Feedback #

FromJSON Feedback Source # 
Instance details

Defined in Twilio.Call.Feedback

Get1 CallSID Feedback Source # 
Instance details

Defined in Twilio.Call.Feedback

type Rep Feedback Source # 
Instance details

Defined in Twilio.Call.Feedback

Types

data Quality Source #

An integer 1 to 5 quality score where 1 represents very poor call quality and 5 represents a perfect call.

Constructors

Q1

Very poor call quality

Q2 
Q3 
Q4 
Q5

A perfect call

Instances
Bounded Quality Source # 
Instance details

Defined in Twilio.Call.Feedback

Enum Quality Source # 
Instance details

Defined in Twilio.Call.Feedback

Eq Quality Source # 
Instance details

Defined in Twilio.Call.Feedback

Methods

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

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

Data Quality Source # 
Instance details

Defined in Twilio.Call.Feedback

Methods

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

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

toConstr :: Quality -> Constr #

dataTypeOf :: Quality -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Quality Source # 
Instance details

Defined in Twilio.Call.Feedback

Read Quality Source # 
Instance details

Defined in Twilio.Call.Feedback

Show Quality Source # 
Instance details

Defined in Twilio.Call.Feedback

Generic Quality Source # 
Instance details

Defined in Twilio.Call.Feedback

Associated Types

type Rep Quality :: Type -> Type #

Methods

from :: Quality -> Rep Quality x #

to :: Rep Quality x -> Quality #

ToJSON Quality Source # 
Instance details

Defined in Twilio.Call.Feedback

FromJSON Quality Source # 
Instance details

Defined in Twilio.Call.Feedback

type Rep Quality Source # 
Instance details

Defined in Twilio.Call.Feedback

type Rep Quality = D1 (MetaData "Quality" "Twilio.Call.Feedback" "twilio-0.3.0.0-1lpPNPa4b89HUIQeQ4pFjg" False) ((C1 (MetaCons "Q1" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Q2" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Q3" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Q4" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Q5" PrefixI False) (U1 :: Type -> Type))))

data Issue Source #

A list of issues experienced during the call.

Constructors

ImperfectAudio

Imperfect audio quality: Choppy, echoed, or garbled audio during conversation.

DroppedCall

Dropped call: call initially connected but was dropped.

IncorrectCallerId

Incorrect caller ID: Call connected but caller ID displayed 'Unknown' or an incorrect number.

PostDialDelay

Post dial delay: Call connected but there was a long delay between dialing the phone number and the start of ringing.

DigitsNotCaptured

DTMF tones not captured: Failed to capture digit input on phone menus.

UnsolicitedCall

Unsolicited call: Received telemarketer, wrong number, automated or other type of unsolicited call.

AudioLatency

Audio latency: Call participants can hear each other but with significant audio delay.

OneWayAudio

One way audio: Only one party could hear the audio during the conversation.

Instances
Bounded Issue Source # 
Instance details

Defined in Twilio.Types.Issue

Enum Issue Source # 
Instance details

Defined in Twilio.Types.Issue

Eq Issue Source # 
Instance details

Defined in Twilio.Types.Issue

Methods

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

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

Data Issue Source # 
Instance details

Defined in Twilio.Types.Issue

Methods

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

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

toConstr :: Issue -> Constr #

dataTypeOf :: Issue -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Issue Source # 
Instance details

Defined in Twilio.Types.Issue

Methods

compare :: Issue -> Issue -> Ordering #

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

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

(>) :: Issue -> Issue -> Bool #

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

max :: Issue -> Issue -> Issue #

min :: Issue -> Issue -> Issue #

Read Issue Source # 
Instance details

Defined in Twilio.Types.Issue

Show Issue Source # 
Instance details

Defined in Twilio.Types.Issue

Methods

showsPrec :: Int -> Issue -> ShowS #

show :: Issue -> String #

showList :: [Issue] -> ShowS #

Generic Issue Source # 
Instance details

Defined in Twilio.Types.Issue

Associated Types

type Rep Issue :: Type -> Type #

Methods

from :: Issue -> Rep Issue x #

to :: Rep Issue x -> Issue #

ToJSON Issue Source # 
Instance details

Defined in Twilio.Types.Issue

FromJSON Issue Source # 
Instance details

Defined in Twilio.Types.Issue

type Rep Issue Source # 
Instance details

Defined in Twilio.Types.Issue

type Rep Issue = D1 (MetaData "Issue" "Twilio.Types.Issue" "twilio-0.3.0.0-1lpPNPa4b89HUIQeQ4pFjg" False) (((C1 (MetaCons "ImperfectAudio" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DroppedCall" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "IncorrectCallerId" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "PostDialDelay" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "DigitsNotCaptured" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "UnsolicitedCall" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "AudioLatency" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "OneWayAudio" PrefixI False) (U1 :: Type -> Type))))