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 |
This module defines all of the SIDs (string identifiers) for Twilio resources in a single place.
Synopsis
- newtype AccountSID = AccountSID {
- getAccountSID :: (SID A C)
- newtype AddressSID = AddressSID {
- getAddressSID :: (SID A D)
- newtype APIKeySID = APIKeySID {
- getAPIKeySID :: (SID S K)
- newtype ApplicationSID = ApplicationSID {
- getApplicationSID :: (SID A P)
- newtype CallSID = CallSID {
- getCallSID :: (SID C A)
- newtype ConferenceSID = ConferenceSID {
- getConferenceSID :: (SID C O)
- newtype ConnectAppSID = ConnectAppSID {
- getConnectAppSID :: (SID C N)
- newtype CredentialSID = CredentialSID {
- getCredentialSID :: (SID S C)
- newtype CredentialListSID = CredentialListSID {
- getCredentialListSID :: (SID C L)
- newtype DomainSID = DomainSID {
- getDomainSID :: (SID S D)
- newtype FeedbackSummarySID = FeedbackSummarySID {
- getFeedbackSummarySID :: (SID F S)
- newtype IPAccessControlListSID = IPAccessControlListSID {
- getIPAccessControlListSID :: (SID A L)
- newtype IPAddressSID = IPAddressSID {
- getIPAddressSID :: (SID I P)
- newtype MediaSID = MediaSID {
- getMediaSID :: (SID M E)
- newtype MessageSID = MessageSID {}
- newtype MMSMessageSID = MMSMessageSID {
- getMMSMessageSID :: (SID M M)
- newtype PhoneNumberSID = PhoneNumberSID {
- getPhoneNumberSID :: (SID P N)
- newtype QueueSID = QueueSID {
- getQueueSID :: (SID Q U)
- newtype RecordingSID = RecordingSID {
- getRecordingSID :: (SID R E)
- newtype ShortCodeSID = ShortCodeSID {
- getShortCodeSID :: (SID S C)
- newtype SMSMessageSID = SMSMessageSID {
- getSMSMessageSID :: (SID S M)
- newtype TranscriptionSID = TranscriptionSID {
- getTranscriptionSID :: (SID T R)
- newtype UsageTriggerSID = UsageTriggerSID {
- getUsageTriggerSID :: (SID U T)
- newtype MessagingServiceSID = MessagingServiceSID {
- getMessagingServiceSID :: (SID M G)
- mkAccountSID :: Word64 -> Word64 -> AccountSID
- mkAddressSID :: Word64 -> Word64 -> AddressSID
- mkAPIKeySID :: Word64 -> Word64 -> APIKeySID
- mkApplicationSID :: Word64 -> Word64 -> ApplicationSID
- mkCallSID :: Word64 -> Word64 -> CallSID
- mkConferenceSID :: Word64 -> Word64 -> ConferenceSID
- mkConnectAppSID :: Word64 -> Word64 -> ConnectAppSID
- mkCredentialSID :: Word64 -> Word64 -> CredentialSID
- mkCredentialListSID :: Word64 -> Word64 -> CredentialListSID
- mkDomainSID :: Word64 -> Word64 -> DomainSID
- mkFeedbackSummarySID :: Word64 -> Word64 -> FeedbackSummarySID
- mkIPAccessControlListSID :: Word64 -> Word64 -> IPAccessControlListSID
- mkIPAddressSID :: Word64 -> Word64 -> IPAddressSID
- mkMediaSID :: Word64 -> Word64 -> MediaSID
- mkMMSMessageSID :: Word64 -> Word64 -> MMSMessageSID
- mkPhoneNumberSID :: Word64 -> Word64 -> PhoneNumberSID
- mkQueueSID :: Word64 -> Word64 -> QueueSID
- mkRecordingSID :: Word64 -> Word64 -> RecordingSID
- mkShortCodeSID :: Word64 -> Word64 -> ShortCodeSID
- mkSMSMessageSID :: Word64 -> Word64 -> SMSMessageSID
- mkTranscriptionSID :: Word64 -> Word64 -> TranscriptionSID
- mkUsageTriggerSID :: Word64 -> Word64 -> UsageTriggerSID
- mkMessagingServiceSID :: Word64 -> Word64 -> MessagingServiceSID
- class IsSID sid where
- data SID (a :: Alpha) (b :: Alpha) = SID !Word64 !Word64
Documentation
newtype AccountSID Source #
AccountSID | |
|
Instances
newtype AddressSID Source #
AddressSID | |
|
Instances
APIKeySID | |
|
Instances
newtype ApplicationSID Source #
ApplicationSID | |
|
Instances
CallSID | |
|
Instances
newtype ConferenceSID Source #
ConferenceSID | |
|
Instances
newtype ConnectAppSID Source #
ConnectAppSID | |
|
Instances
newtype CredentialSID Source #
CredentialSID | |
|
Instances
newtype CredentialListSID Source #
Instances
DomainSID | |
|
Instances
newtype FeedbackSummarySID Source #
Instances
newtype IPAccessControlListSID Source #
Instances
newtype IPAddressSID Source #
IPAddressSID | |
|
Instances
MediaSID | |
|
Instances
newtype MessageSID Source #
Instances
newtype MMSMessageSID Source #
MMSMessageSID | |
|
Instances
newtype PhoneNumberSID Source #
PhoneNumberSID | |
|
Instances
QueueSID | |
|
Instances
newtype RecordingSID Source #
RecordingSID | |
|
Instances
newtype ShortCodeSID Source #
ShortCodeSID | |
|
Instances
newtype SMSMessageSID Source #
SMSMessageSID | |
|
Instances
newtype TranscriptionSID Source #
Instances
newtype UsageTriggerSID Source #
Instances
newtype MessagingServiceSID Source #
Instances
Smart Constructors
mkAccountSID :: Word64 -> Word64 -> AccountSID Source #
mkAddressSID :: Word64 -> Word64 -> AddressSID Source #
mkApplicationSID :: Word64 -> Word64 -> ApplicationSID Source #
mkConferenceSID :: Word64 -> Word64 -> ConferenceSID Source #
mkConnectAppSID :: Word64 -> Word64 -> ConnectAppSID Source #
mkCredentialSID :: Word64 -> Word64 -> CredentialSID Source #
mkCredentialListSID :: Word64 -> Word64 -> CredentialListSID Source #
mkIPAddressSID :: Word64 -> Word64 -> IPAddressSID Source #
mkMMSMessageSID :: Word64 -> Word64 -> MMSMessageSID Source #
mkPhoneNumberSID :: Word64 -> Word64 -> PhoneNumberSID Source #
mkRecordingSID :: Word64 -> Word64 -> RecordingSID Source #
mkShortCodeSID :: Word64 -> Word64 -> ShortCodeSID Source #
mkSMSMessageSID :: Word64 -> Word64 -> SMSMessageSID Source #
mkTranscriptionSID :: Word64 -> Word64 -> TranscriptionSID Source #
mkUsageTriggerSID :: Word64 -> Word64 -> UsageTriggerSID Source #
class IsSID sid where Source #
Instances
data SID (a :: Alpha) (b :: Alpha) Source #
A SID (string identifier) is a 34-character string. The first two characters are capital letters A through Z; the remaining 32 characters represent a 128-bit natural number in hexadecimal.
Instances
Bounded (SID a b) Source # | |
Eq (SID a b) Source # | |
(Typeable a, Typeable b) => Data (SID a b) Source # | |
Defined in Twilio.Types.SID gfoldl :: (forall d b0. Data d => c (d -> b0) -> d -> c b0) -> (forall g. g -> c g) -> SID a b -> c (SID a b) # gunfold :: (forall b0 r. Data b0 => c (b0 -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (SID a b) # toConstr :: SID a b -> Constr # dataTypeOf :: SID a b -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (SID a b)) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (SID a b)) # gmapT :: (forall b0. Data b0 => b0 -> b0) -> SID a b -> SID a b # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SID a b -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SID a b -> r # gmapQ :: (forall d. Data d => d -> u) -> SID a b -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> SID a b -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> SID a b -> m (SID a b) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SID a b -> m (SID a b) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SID a b -> m (SID a b) # | |
Ord (SID a b) Source # | |
(IsAlpha a, IsAlpha b) => Read (SID a b) Source # | |
(IsAlpha a, IsAlpha b) => Show (SID a b) Source # | |
Ix (SID a b) Source # | |
Defined in Twilio.Types.SID | |
(IsAlpha a, IsAlpha b) => IsString (SID a b) Source # | |
Defined in Twilio.Types.SID fromString :: String -> SID a b # | |
Generic (SID a b) Source # | |
Hashable (SID a b) Source # | |
Defined in Twilio.Types.SID | |
(IsAlpha a, IsAlpha b) => ToJSON (SID a b) Source # | |
Defined in Twilio.Types.SID | |
(IsAlpha a, IsAlpha b) => FromJSON (SID a b) Source # | |
Binary (SID a b) Source # | |
NFData (SID a b) Source # | |
Defined in Twilio.Types.SID | |
(IsAlpha a, IsAlpha b) => IsSID (SID a b) Source # | |
type Rep (SID a b) Source # | |
Defined in Twilio.Types.SID type Rep (SID a b) = D1 (MetaData "SID" "Twilio.Types.SID" "twilio-0.3.0.0-1lpPNPa4b89HUIQeQ4pFjg" False) (C1 (MetaCons "SID" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Word64) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Word64))) |