{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.Pinpoint.Types.SMSChannelResponse where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
data SMSChannelResponse = SMSChannelResponse'
{
SMSChannelResponse -> Maybe Text
applicationId :: Prelude.Maybe Prelude.Text,
SMSChannelResponse -> Maybe Text
creationDate :: Prelude.Maybe Prelude.Text,
SMSChannelResponse -> Maybe Bool
enabled :: Prelude.Maybe Prelude.Bool,
SMSChannelResponse -> Maybe Bool
hasCredential :: Prelude.Maybe Prelude.Bool,
SMSChannelResponse -> Maybe Text
id :: Prelude.Maybe Prelude.Text,
SMSChannelResponse -> Maybe Bool
isArchived :: Prelude.Maybe Prelude.Bool,
SMSChannelResponse -> Maybe Text
lastModifiedBy :: Prelude.Maybe Prelude.Text,
SMSChannelResponse -> Maybe Text
lastModifiedDate :: Prelude.Maybe Prelude.Text,
SMSChannelResponse -> Maybe Int
promotionalMessagesPerSecond :: Prelude.Maybe Prelude.Int,
SMSChannelResponse -> Maybe Text
senderId :: Prelude.Maybe Prelude.Text,
SMSChannelResponse -> Maybe Text
shortCode :: Prelude.Maybe Prelude.Text,
SMSChannelResponse -> Maybe Int
transactionalMessagesPerSecond :: Prelude.Maybe Prelude.Int,
SMSChannelResponse -> Maybe Int
version :: Prelude.Maybe Prelude.Int,
SMSChannelResponse -> Text
platform :: Prelude.Text
}
deriving (SMSChannelResponse -> SMSChannelResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SMSChannelResponse -> SMSChannelResponse -> Bool
$c/= :: SMSChannelResponse -> SMSChannelResponse -> Bool
== :: SMSChannelResponse -> SMSChannelResponse -> Bool
$c== :: SMSChannelResponse -> SMSChannelResponse -> Bool
Prelude.Eq, ReadPrec [SMSChannelResponse]
ReadPrec SMSChannelResponse
Int -> ReadS SMSChannelResponse
ReadS [SMSChannelResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [SMSChannelResponse]
$creadListPrec :: ReadPrec [SMSChannelResponse]
readPrec :: ReadPrec SMSChannelResponse
$creadPrec :: ReadPrec SMSChannelResponse
readList :: ReadS [SMSChannelResponse]
$creadList :: ReadS [SMSChannelResponse]
readsPrec :: Int -> ReadS SMSChannelResponse
$creadsPrec :: Int -> ReadS SMSChannelResponse
Prelude.Read, Int -> SMSChannelResponse -> ShowS
[SMSChannelResponse] -> ShowS
SMSChannelResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SMSChannelResponse] -> ShowS
$cshowList :: [SMSChannelResponse] -> ShowS
show :: SMSChannelResponse -> String
$cshow :: SMSChannelResponse -> String
showsPrec :: Int -> SMSChannelResponse -> ShowS
$cshowsPrec :: Int -> SMSChannelResponse -> ShowS
Prelude.Show, forall x. Rep SMSChannelResponse x -> SMSChannelResponse
forall x. SMSChannelResponse -> Rep SMSChannelResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep SMSChannelResponse x -> SMSChannelResponse
$cfrom :: forall x. SMSChannelResponse -> Rep SMSChannelResponse x
Prelude.Generic)
newSMSChannelResponse ::
Prelude.Text ->
SMSChannelResponse
newSMSChannelResponse :: Text -> SMSChannelResponse
newSMSChannelResponse Text
pPlatform_ =
SMSChannelResponse'
{ $sel:applicationId:SMSChannelResponse' :: Maybe Text
applicationId =
forall a. Maybe a
Prelude.Nothing,
$sel:creationDate:SMSChannelResponse' :: Maybe Text
creationDate = forall a. Maybe a
Prelude.Nothing,
$sel:enabled:SMSChannelResponse' :: Maybe Bool
enabled = forall a. Maybe a
Prelude.Nothing,
$sel:hasCredential:SMSChannelResponse' :: Maybe Bool
hasCredential = forall a. Maybe a
Prelude.Nothing,
$sel:id:SMSChannelResponse' :: Maybe Text
id = forall a. Maybe a
Prelude.Nothing,
$sel:isArchived:SMSChannelResponse' :: Maybe Bool
isArchived = forall a. Maybe a
Prelude.Nothing,
$sel:lastModifiedBy:SMSChannelResponse' :: Maybe Text
lastModifiedBy = forall a. Maybe a
Prelude.Nothing,
$sel:lastModifiedDate:SMSChannelResponse' :: Maybe Text
lastModifiedDate = forall a. Maybe a
Prelude.Nothing,
$sel:promotionalMessagesPerSecond:SMSChannelResponse' :: Maybe Int
promotionalMessagesPerSecond = forall a. Maybe a
Prelude.Nothing,
$sel:senderId:SMSChannelResponse' :: Maybe Text
senderId = forall a. Maybe a
Prelude.Nothing,
$sel:shortCode:SMSChannelResponse' :: Maybe Text
shortCode = forall a. Maybe a
Prelude.Nothing,
$sel:transactionalMessagesPerSecond:SMSChannelResponse' :: Maybe Int
transactionalMessagesPerSecond = forall a. Maybe a
Prelude.Nothing,
$sel:version:SMSChannelResponse' :: Maybe Int
version = forall a. Maybe a
Prelude.Nothing,
$sel:platform:SMSChannelResponse' :: Text
platform = Text
pPlatform_
}
sMSChannelResponse_applicationId :: Lens.Lens' SMSChannelResponse (Prelude.Maybe Prelude.Text)
sMSChannelResponse_applicationId :: Lens' SMSChannelResponse (Maybe Text)
sMSChannelResponse_applicationId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMSChannelResponse' {Maybe Text
applicationId :: Maybe Text
$sel:applicationId:SMSChannelResponse' :: SMSChannelResponse -> Maybe Text
applicationId} -> Maybe Text
applicationId) (\s :: SMSChannelResponse
s@SMSChannelResponse' {} Maybe Text
a -> SMSChannelResponse
s {$sel:applicationId:SMSChannelResponse' :: Maybe Text
applicationId = Maybe Text
a} :: SMSChannelResponse)
sMSChannelResponse_creationDate :: Lens.Lens' SMSChannelResponse (Prelude.Maybe Prelude.Text)
sMSChannelResponse_creationDate :: Lens' SMSChannelResponse (Maybe Text)
sMSChannelResponse_creationDate = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMSChannelResponse' {Maybe Text
creationDate :: Maybe Text
$sel:creationDate:SMSChannelResponse' :: SMSChannelResponse -> Maybe Text
creationDate} -> Maybe Text
creationDate) (\s :: SMSChannelResponse
s@SMSChannelResponse' {} Maybe Text
a -> SMSChannelResponse
s {$sel:creationDate:SMSChannelResponse' :: Maybe Text
creationDate = Maybe Text
a} :: SMSChannelResponse)
sMSChannelResponse_enabled :: Lens.Lens' SMSChannelResponse (Prelude.Maybe Prelude.Bool)
sMSChannelResponse_enabled :: Lens' SMSChannelResponse (Maybe Bool)
sMSChannelResponse_enabled = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMSChannelResponse' {Maybe Bool
enabled :: Maybe Bool
$sel:enabled:SMSChannelResponse' :: SMSChannelResponse -> Maybe Bool
enabled} -> Maybe Bool
enabled) (\s :: SMSChannelResponse
s@SMSChannelResponse' {} Maybe Bool
a -> SMSChannelResponse
s {$sel:enabled:SMSChannelResponse' :: Maybe Bool
enabled = Maybe Bool
a} :: SMSChannelResponse)
sMSChannelResponse_hasCredential :: Lens.Lens' SMSChannelResponse (Prelude.Maybe Prelude.Bool)
sMSChannelResponse_hasCredential :: Lens' SMSChannelResponse (Maybe Bool)
sMSChannelResponse_hasCredential = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMSChannelResponse' {Maybe Bool
hasCredential :: Maybe Bool
$sel:hasCredential:SMSChannelResponse' :: SMSChannelResponse -> Maybe Bool
hasCredential} -> Maybe Bool
hasCredential) (\s :: SMSChannelResponse
s@SMSChannelResponse' {} Maybe Bool
a -> SMSChannelResponse
s {$sel:hasCredential:SMSChannelResponse' :: Maybe Bool
hasCredential = Maybe Bool
a} :: SMSChannelResponse)
sMSChannelResponse_id :: Lens.Lens' SMSChannelResponse (Prelude.Maybe Prelude.Text)
sMSChannelResponse_id :: Lens' SMSChannelResponse (Maybe Text)
sMSChannelResponse_id = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMSChannelResponse' {Maybe Text
id :: Maybe Text
$sel:id:SMSChannelResponse' :: SMSChannelResponse -> Maybe Text
id} -> Maybe Text
id) (\s :: SMSChannelResponse
s@SMSChannelResponse' {} Maybe Text
a -> SMSChannelResponse
s {$sel:id:SMSChannelResponse' :: Maybe Text
id = Maybe Text
a} :: SMSChannelResponse)
sMSChannelResponse_isArchived :: Lens.Lens' SMSChannelResponse (Prelude.Maybe Prelude.Bool)
sMSChannelResponse_isArchived :: Lens' SMSChannelResponse (Maybe Bool)
sMSChannelResponse_isArchived = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMSChannelResponse' {Maybe Bool
isArchived :: Maybe Bool
$sel:isArchived:SMSChannelResponse' :: SMSChannelResponse -> Maybe Bool
isArchived} -> Maybe Bool
isArchived) (\s :: SMSChannelResponse
s@SMSChannelResponse' {} Maybe Bool
a -> SMSChannelResponse
s {$sel:isArchived:SMSChannelResponse' :: Maybe Bool
isArchived = Maybe Bool
a} :: SMSChannelResponse)
sMSChannelResponse_lastModifiedBy :: Lens.Lens' SMSChannelResponse (Prelude.Maybe Prelude.Text)
sMSChannelResponse_lastModifiedBy :: Lens' SMSChannelResponse (Maybe Text)
sMSChannelResponse_lastModifiedBy = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMSChannelResponse' {Maybe Text
lastModifiedBy :: Maybe Text
$sel:lastModifiedBy:SMSChannelResponse' :: SMSChannelResponse -> Maybe Text
lastModifiedBy} -> Maybe Text
lastModifiedBy) (\s :: SMSChannelResponse
s@SMSChannelResponse' {} Maybe Text
a -> SMSChannelResponse
s {$sel:lastModifiedBy:SMSChannelResponse' :: Maybe Text
lastModifiedBy = Maybe Text
a} :: SMSChannelResponse)
sMSChannelResponse_lastModifiedDate :: Lens.Lens' SMSChannelResponse (Prelude.Maybe Prelude.Text)
sMSChannelResponse_lastModifiedDate :: Lens' SMSChannelResponse (Maybe Text)
sMSChannelResponse_lastModifiedDate = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMSChannelResponse' {Maybe Text
lastModifiedDate :: Maybe Text
$sel:lastModifiedDate:SMSChannelResponse' :: SMSChannelResponse -> Maybe Text
lastModifiedDate} -> Maybe Text
lastModifiedDate) (\s :: SMSChannelResponse
s@SMSChannelResponse' {} Maybe Text
a -> SMSChannelResponse
s {$sel:lastModifiedDate:SMSChannelResponse' :: Maybe Text
lastModifiedDate = Maybe Text
a} :: SMSChannelResponse)
sMSChannelResponse_promotionalMessagesPerSecond :: Lens.Lens' SMSChannelResponse (Prelude.Maybe Prelude.Int)
sMSChannelResponse_promotionalMessagesPerSecond :: Lens' SMSChannelResponse (Maybe Int)
sMSChannelResponse_promotionalMessagesPerSecond = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMSChannelResponse' {Maybe Int
promotionalMessagesPerSecond :: Maybe Int
$sel:promotionalMessagesPerSecond:SMSChannelResponse' :: SMSChannelResponse -> Maybe Int
promotionalMessagesPerSecond} -> Maybe Int
promotionalMessagesPerSecond) (\s :: SMSChannelResponse
s@SMSChannelResponse' {} Maybe Int
a -> SMSChannelResponse
s {$sel:promotionalMessagesPerSecond:SMSChannelResponse' :: Maybe Int
promotionalMessagesPerSecond = Maybe Int
a} :: SMSChannelResponse)
sMSChannelResponse_senderId :: Lens.Lens' SMSChannelResponse (Prelude.Maybe Prelude.Text)
sMSChannelResponse_senderId :: Lens' SMSChannelResponse (Maybe Text)
sMSChannelResponse_senderId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMSChannelResponse' {Maybe Text
senderId :: Maybe Text
$sel:senderId:SMSChannelResponse' :: SMSChannelResponse -> Maybe Text
senderId} -> Maybe Text
senderId) (\s :: SMSChannelResponse
s@SMSChannelResponse' {} Maybe Text
a -> SMSChannelResponse
s {$sel:senderId:SMSChannelResponse' :: Maybe Text
senderId = Maybe Text
a} :: SMSChannelResponse)
sMSChannelResponse_shortCode :: Lens.Lens' SMSChannelResponse (Prelude.Maybe Prelude.Text)
sMSChannelResponse_shortCode :: Lens' SMSChannelResponse (Maybe Text)
sMSChannelResponse_shortCode = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMSChannelResponse' {Maybe Text
shortCode :: Maybe Text
$sel:shortCode:SMSChannelResponse' :: SMSChannelResponse -> Maybe Text
shortCode} -> Maybe Text
shortCode) (\s :: SMSChannelResponse
s@SMSChannelResponse' {} Maybe Text
a -> SMSChannelResponse
s {$sel:shortCode:SMSChannelResponse' :: Maybe Text
shortCode = Maybe Text
a} :: SMSChannelResponse)
sMSChannelResponse_transactionalMessagesPerSecond :: Lens.Lens' SMSChannelResponse (Prelude.Maybe Prelude.Int)
sMSChannelResponse_transactionalMessagesPerSecond :: Lens' SMSChannelResponse (Maybe Int)
sMSChannelResponse_transactionalMessagesPerSecond = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMSChannelResponse' {Maybe Int
transactionalMessagesPerSecond :: Maybe Int
$sel:transactionalMessagesPerSecond:SMSChannelResponse' :: SMSChannelResponse -> Maybe Int
transactionalMessagesPerSecond} -> Maybe Int
transactionalMessagesPerSecond) (\s :: SMSChannelResponse
s@SMSChannelResponse' {} Maybe Int
a -> SMSChannelResponse
s {$sel:transactionalMessagesPerSecond:SMSChannelResponse' :: Maybe Int
transactionalMessagesPerSecond = Maybe Int
a} :: SMSChannelResponse)
sMSChannelResponse_version :: Lens.Lens' SMSChannelResponse (Prelude.Maybe Prelude.Int)
sMSChannelResponse_version :: Lens' SMSChannelResponse (Maybe Int)
sMSChannelResponse_version = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMSChannelResponse' {Maybe Int
version :: Maybe Int
$sel:version:SMSChannelResponse' :: SMSChannelResponse -> Maybe Int
version} -> Maybe Int
version) (\s :: SMSChannelResponse
s@SMSChannelResponse' {} Maybe Int
a -> SMSChannelResponse
s {$sel:version:SMSChannelResponse' :: Maybe Int
version = Maybe Int
a} :: SMSChannelResponse)
sMSChannelResponse_platform :: Lens.Lens' SMSChannelResponse Prelude.Text
sMSChannelResponse_platform :: Lens' SMSChannelResponse Text
sMSChannelResponse_platform = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SMSChannelResponse' {Text
platform :: Text
$sel:platform:SMSChannelResponse' :: SMSChannelResponse -> Text
platform} -> Text
platform) (\s :: SMSChannelResponse
s@SMSChannelResponse' {} Text
a -> SMSChannelResponse
s {$sel:platform:SMSChannelResponse' :: Text
platform = Text
a} :: SMSChannelResponse)
instance Data.FromJSON SMSChannelResponse where
parseJSON :: Value -> Parser SMSChannelResponse
parseJSON =
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
String
"SMSChannelResponse"
( \Object
x ->
Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> Text
-> SMSChannelResponse
SMSChannelResponse'
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"ApplicationId")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"CreationDate")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Enabled")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"HasCredential")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Id")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"IsArchived")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"LastModifiedBy")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"LastModifiedDate")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"PromotionalMessagesPerSecond")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"SenderId")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"ShortCode")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"TransactionalMessagesPerSecond")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Version")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"Platform")
)
instance Prelude.Hashable SMSChannelResponse where
hashWithSalt :: Int -> SMSChannelResponse -> Int
hashWithSalt Int
_salt SMSChannelResponse' {Maybe Bool
Maybe Int
Maybe Text
Text
platform :: Text
version :: Maybe Int
transactionalMessagesPerSecond :: Maybe Int
shortCode :: Maybe Text
senderId :: Maybe Text
promotionalMessagesPerSecond :: Maybe Int
lastModifiedDate :: Maybe Text
lastModifiedBy :: Maybe Text
isArchived :: Maybe Bool
id :: Maybe Text
hasCredential :: Maybe Bool
enabled :: Maybe Bool
creationDate :: Maybe Text
applicationId :: Maybe Text
$sel:platform:SMSChannelResponse' :: SMSChannelResponse -> Text
$sel:version:SMSChannelResponse' :: SMSChannelResponse -> Maybe Int
$sel:transactionalMessagesPerSecond:SMSChannelResponse' :: SMSChannelResponse -> Maybe Int
$sel:shortCode:SMSChannelResponse' :: SMSChannelResponse -> Maybe Text
$sel:senderId:SMSChannelResponse' :: SMSChannelResponse -> Maybe Text
$sel:promotionalMessagesPerSecond:SMSChannelResponse' :: SMSChannelResponse -> Maybe Int
$sel:lastModifiedDate:SMSChannelResponse' :: SMSChannelResponse -> Maybe Text
$sel:lastModifiedBy:SMSChannelResponse' :: SMSChannelResponse -> Maybe Text
$sel:isArchived:SMSChannelResponse' :: SMSChannelResponse -> Maybe Bool
$sel:id:SMSChannelResponse' :: SMSChannelResponse -> Maybe Text
$sel:hasCredential:SMSChannelResponse' :: SMSChannelResponse -> Maybe Bool
$sel:enabled:SMSChannelResponse' :: SMSChannelResponse -> Maybe Bool
$sel:creationDate:SMSChannelResponse' :: SMSChannelResponse -> Maybe Text
$sel:applicationId:SMSChannelResponse' :: SMSChannelResponse -> Maybe Text
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
applicationId
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
creationDate
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
enabled
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
hasCredential
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
id
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
isArchived
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
lastModifiedBy
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
lastModifiedDate
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
promotionalMessagesPerSecond
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
senderId
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
shortCode
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
transactionalMessagesPerSecond
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
version
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
platform
instance Prelude.NFData SMSChannelResponse where
rnf :: SMSChannelResponse -> ()
rnf SMSChannelResponse' {Maybe Bool
Maybe Int
Maybe Text
Text
platform :: Text
version :: Maybe Int
transactionalMessagesPerSecond :: Maybe Int
shortCode :: Maybe Text
senderId :: Maybe Text
promotionalMessagesPerSecond :: Maybe Int
lastModifiedDate :: Maybe Text
lastModifiedBy :: Maybe Text
isArchived :: Maybe Bool
id :: Maybe Text
hasCredential :: Maybe Bool
enabled :: Maybe Bool
creationDate :: Maybe Text
applicationId :: Maybe Text
$sel:platform:SMSChannelResponse' :: SMSChannelResponse -> Text
$sel:version:SMSChannelResponse' :: SMSChannelResponse -> Maybe Int
$sel:transactionalMessagesPerSecond:SMSChannelResponse' :: SMSChannelResponse -> Maybe Int
$sel:shortCode:SMSChannelResponse' :: SMSChannelResponse -> Maybe Text
$sel:senderId:SMSChannelResponse' :: SMSChannelResponse -> Maybe Text
$sel:promotionalMessagesPerSecond:SMSChannelResponse' :: SMSChannelResponse -> Maybe Int
$sel:lastModifiedDate:SMSChannelResponse' :: SMSChannelResponse -> Maybe Text
$sel:lastModifiedBy:SMSChannelResponse' :: SMSChannelResponse -> Maybe Text
$sel:isArchived:SMSChannelResponse' :: SMSChannelResponse -> Maybe Bool
$sel:id:SMSChannelResponse' :: SMSChannelResponse -> Maybe Text
$sel:hasCredential:SMSChannelResponse' :: SMSChannelResponse -> Maybe Bool
$sel:enabled:SMSChannelResponse' :: SMSChannelResponse -> Maybe Bool
$sel:creationDate:SMSChannelResponse' :: SMSChannelResponse -> Maybe Text
$sel:applicationId:SMSChannelResponse' :: SMSChannelResponse -> Maybe Text
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
applicationId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
creationDate
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Bool
enabled
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Bool
hasCredential
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
id
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Bool
isArchived
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
lastModifiedBy
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
lastModifiedDate
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
promotionalMessagesPerSecond
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
senderId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
shortCode
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
transactionalMessagesPerSecond
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
version
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
platform