Copyright | (C) 2017- Mark Andrus Roberts |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Mark Andrus Roberts <markandrusroberts@gmail.com> |
Stability | provisional |
Safe Haskell | None |
Language | Haskell98 |
Twilio.Call
Description
- data Call = Call {
- sid :: !CallSID
- parentCallSID :: !(Maybe CallSID)
- dateCreated :: !(Maybe UTCTime)
- dateUpdated :: !(Maybe UTCTime)
- accountSID :: !AccountSID
- to :: !(Maybe Text)
- from :: !Text
- phoneNumberSID :: !(Maybe PhoneNumberSID)
- status :: !CallStatus
- startTime :: !(Maybe UTCTime)
- endTime :: !(Maybe UTCTime)
- duration :: !(Maybe Int)
- price :: !(Maybe Double)
- priceUnit :: !(Maybe PriceUnit)
- direction :: !(Maybe CallDirection)
- answeredBy :: !(Maybe AnsweredBy)
- forwardedFrom :: !(Maybe Text)
- callerName :: !(Maybe Text)
- uri :: !URI
- apiVersion :: !APIVersion
- data CallSID
- get :: MonadThrow m => CallSID -> TwilioT m Call
- data AnsweredBy
- data CallDirection
- data CallStatus
Resource
Constructors
Call | |
Fields
|
Instances
Bounded CallSID # | |
Eq CallSID # | |
Data CallSID # | |
Ord CallSID # | |
Read CallSID # | |
Show CallSID # | |
Ix CallSID # | |
IsString CallSID # | |
Generic CallSID # | |
NFData CallSID # | |
ToJSON CallSID # | |
FromJSON CallSID # | |
Hashable CallSID # | |
IsSID CallSID # | |
Get1 CallSID Call # | |
Get1 CallSID Feedback # | |
Get2 ConferenceSID CallSID Participant # | |
Get2 QueueSID CallSID Member # | |
type Rep CallSID # | |
Types
data AnsweredBy #
Instances
Eq AnsweredBy # | |
Show AnsweredBy # | |
FromJSON AnsweredBy # | |
data CallDirection #
Constructors
Inbound | |
OutboundAPI | |
OutboundDial |
Instances
Eq CallDirection # | |
Show CallDirection # | |
FromJSON CallDirection # | |
data CallStatus #
Instances
Bounded CallStatus # | |
Enum CallStatus # | |
Eq CallStatus # | |
Ord CallStatus # | |
Read CallStatus # | |
Show CallStatus # | |
FromJSON CallStatus # | |