| 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.Account
Description
- data Account = Account {
- sid :: !AccountSID
- dateCreated :: !UTCTime
- dateUpdated :: !UTCTime
- friendlyName :: !Text
- type' :: !Type
- status :: !Status
- authToken :: !AuthToken
- uri :: !URI
- ownerAccountSID :: !(Maybe AccountSID)
- data AccountSID
- get :: MonadThrow m => AccountSID -> TwilioT m Account
- suspend :: Monad m => AccountSID -> TwilioT m ()
- unsuspend :: Monad m => AccountSID -> TwilioT m ()
- close :: Monad m => AccountSID -> TwilioT m ()
- data Status
- data Type
Resource
Constructors
| Account | |
Fields
| |
data AccountSID #
Instances
| Bounded AccountSID # | |
| Eq AccountSID # | |
| Data AccountSID # | |
| Ord AccountSID # | |
| Read AccountSID # | |
| Show AccountSID # | |
| Ix AccountSID # | |
| IsString AccountSID # | |
| Generic AccountSID # | |
| NFData AccountSID # | |
| ToJSON AccountSID # | |
| FromJSON AccountSID # | |
| Hashable AccountSID # | |
| IsSID AccountSID # | |
| Get1 AccountSID Account # | |
| Monad m => MonadReader (Credentials, AccountSID) (TwilioT m) | |
| type Rep AccountSID # | |
get :: MonadThrow m => AccountSID -> TwilioT m Account #
suspend :: Monad m => AccountSID -> TwilioT m () #
unsuspend :: Monad m => AccountSID -> TwilioT m () #
close :: Monad m => AccountSID -> TwilioT m () #