module Stratosphere.SMSVOICE.PhoneNumber (
        module Exports, PhoneNumber(..), mkPhoneNumber
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.SMSVOICE.PhoneNumber.MandatoryKeywordsProperty as Exports
import {-# SOURCE #-} Stratosphere.SMSVOICE.PhoneNumber.OptionalKeywordProperty as Exports
import {-# SOURCE #-} Stratosphere.SMSVOICE.PhoneNumber.TwoWayProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data PhoneNumber
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html>
    PhoneNumber {PhoneNumber -> ()
haddock_workaround_ :: (),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html#cfn-smsvoice-phonenumber-deletionprotectionenabled>
                 PhoneNumber -> Maybe (Value Bool)
deletionProtectionEnabled :: (Prelude.Maybe (Value Prelude.Bool)),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html#cfn-smsvoice-phonenumber-isocountrycode>
                 PhoneNumber -> Value Text
isoCountryCode :: (Value Prelude.Text),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html#cfn-smsvoice-phonenumber-mandatorykeywords>
                 PhoneNumber -> MandatoryKeywordsProperty
mandatoryKeywords :: MandatoryKeywordsProperty,
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html#cfn-smsvoice-phonenumber-numbercapabilities>
                 PhoneNumber -> ValueList Text
numberCapabilities :: (ValueList Prelude.Text),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html#cfn-smsvoice-phonenumber-numbertype>
                 PhoneNumber -> Value Text
numberType :: (Value Prelude.Text),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html#cfn-smsvoice-phonenumber-optoutlistname>
                 PhoneNumber -> Maybe (Value Text)
optOutListName :: (Prelude.Maybe (Value Prelude.Text)),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html#cfn-smsvoice-phonenumber-optionalkeywords>
                 PhoneNumber -> Maybe [OptionalKeywordProperty]
optionalKeywords :: (Prelude.Maybe [OptionalKeywordProperty]),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html#cfn-smsvoice-phonenumber-selfmanagedoptoutsenabled>
                 PhoneNumber -> Maybe (Value Bool)
selfManagedOptOutsEnabled :: (Prelude.Maybe (Value Prelude.Bool)),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html#cfn-smsvoice-phonenumber-tags>
                 PhoneNumber -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag]),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-smsvoice-phonenumber.html#cfn-smsvoice-phonenumber-twoway>
                 PhoneNumber -> Maybe TwoWayProperty
twoWay :: (Prelude.Maybe TwoWayProperty)}
  deriving stock (PhoneNumber -> PhoneNumber -> Bool
(PhoneNumber -> PhoneNumber -> Bool)
-> (PhoneNumber -> PhoneNumber -> Bool) -> Eq PhoneNumber
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: PhoneNumber -> PhoneNumber -> Bool
== :: PhoneNumber -> PhoneNumber -> Bool
$c/= :: PhoneNumber -> PhoneNumber -> Bool
/= :: PhoneNumber -> PhoneNumber -> Bool
Prelude.Eq, Int -> PhoneNumber -> ShowS
[PhoneNumber] -> ShowS
PhoneNumber -> String
(Int -> PhoneNumber -> ShowS)
-> (PhoneNumber -> String)
-> ([PhoneNumber] -> ShowS)
-> Show PhoneNumber
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> PhoneNumber -> ShowS
showsPrec :: Int -> PhoneNumber -> ShowS
$cshow :: PhoneNumber -> String
show :: PhoneNumber -> String
$cshowList :: [PhoneNumber] -> ShowS
showList :: [PhoneNumber] -> ShowS
Prelude.Show)
mkPhoneNumber ::
  Value Prelude.Text
  -> MandatoryKeywordsProperty
     -> ValueList Prelude.Text -> Value Prelude.Text -> PhoneNumber
mkPhoneNumber :: Value Text
-> MandatoryKeywordsProperty
-> ValueList Text
-> Value Text
-> PhoneNumber
mkPhoneNumber
  Value Text
isoCountryCode
  MandatoryKeywordsProperty
mandatoryKeywords
  ValueList Text
numberCapabilities
  Value Text
numberType
  = PhoneNumber
      {haddock_workaround_ :: ()
haddock_workaround_ = (), isoCountryCode :: Value Text
isoCountryCode = Value Text
isoCountryCode,
       mandatoryKeywords :: MandatoryKeywordsProperty
mandatoryKeywords = MandatoryKeywordsProperty
mandatoryKeywords,
       numberCapabilities :: ValueList Text
numberCapabilities = ValueList Text
numberCapabilities, numberType :: Value Text
numberType = Value Text
numberType,
       deletionProtectionEnabled :: Maybe (Value Bool)
deletionProtectionEnabled = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       optOutListName :: Maybe (Value Text)
optOutListName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       optionalKeywords :: Maybe [OptionalKeywordProperty]
optionalKeywords = Maybe [OptionalKeywordProperty]
forall a. Maybe a
Prelude.Nothing,
       selfManagedOptOutsEnabled :: Maybe (Value Bool)
selfManagedOptOutsEnabled = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing, twoWay :: Maybe TwoWayProperty
twoWay = Maybe TwoWayProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties PhoneNumber where
  toResourceProperties :: PhoneNumber -> ResourceProperties
toResourceProperties PhoneNumber {Maybe [Tag]
Maybe [OptionalKeywordProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe TwoWayProperty
()
ValueList Text
Value Text
MandatoryKeywordsProperty
haddock_workaround_ :: PhoneNumber -> ()
deletionProtectionEnabled :: PhoneNumber -> Maybe (Value Bool)
isoCountryCode :: PhoneNumber -> Value Text
mandatoryKeywords :: PhoneNumber -> MandatoryKeywordsProperty
numberCapabilities :: PhoneNumber -> ValueList Text
numberType :: PhoneNumber -> Value Text
optOutListName :: PhoneNumber -> Maybe (Value Text)
optionalKeywords :: PhoneNumber -> Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: PhoneNumber -> Maybe (Value Bool)
tags :: PhoneNumber -> Maybe [Tag]
twoWay :: PhoneNumber -> Maybe TwoWayProperty
haddock_workaround_ :: ()
deletionProtectionEnabled :: Maybe (Value Bool)
isoCountryCode :: Value Text
mandatoryKeywords :: MandatoryKeywordsProperty
numberCapabilities :: ValueList Text
numberType :: Value Text
optOutListName :: Maybe (Value Text)
optionalKeywords :: Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
twoWay :: Maybe TwoWayProperty
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::SMSVOICE::PhoneNumber",
         supportsTags :: Bool
supportsTags = Bool
Prelude.True,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
                           [Key
"IsoCountryCode" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
isoCountryCode,
                            Key
"MandatoryKeywords" Key -> MandatoryKeywordsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= MandatoryKeywordsProperty
mandatoryKeywords,
                            Key
"NumberCapabilities" Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ValueList Text
numberCapabilities,
                            Key
"NumberType" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
numberType]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DeletionProtectionEnabled"
                                 (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
deletionProtectionEnabled,
                               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"OptOutListName" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
optOutListName,
                               Key -> [OptionalKeywordProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"OptionalKeywords" ([OptionalKeywordProperty] -> (Key, Value))
-> Maybe [OptionalKeywordProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [OptionalKeywordProperty]
optionalKeywords,
                               Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SelfManagedOptOutsEnabled"
                                 (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
selfManagedOptOutsEnabled,
                               Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags,
                               Key -> TwoWayProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"TwoWay" (TwoWayProperty -> (Key, Value))
-> Maybe TwoWayProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe TwoWayProperty
twoWay]))}
instance JSON.ToJSON PhoneNumber where
  toJSON :: PhoneNumber -> Value
toJSON PhoneNumber {Maybe [Tag]
Maybe [OptionalKeywordProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe TwoWayProperty
()
ValueList Text
Value Text
MandatoryKeywordsProperty
haddock_workaround_ :: PhoneNumber -> ()
deletionProtectionEnabled :: PhoneNumber -> Maybe (Value Bool)
isoCountryCode :: PhoneNumber -> Value Text
mandatoryKeywords :: PhoneNumber -> MandatoryKeywordsProperty
numberCapabilities :: PhoneNumber -> ValueList Text
numberType :: PhoneNumber -> Value Text
optOutListName :: PhoneNumber -> Maybe (Value Text)
optionalKeywords :: PhoneNumber -> Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: PhoneNumber -> Maybe (Value Bool)
tags :: PhoneNumber -> Maybe [Tag]
twoWay :: PhoneNumber -> Maybe TwoWayProperty
haddock_workaround_ :: ()
deletionProtectionEnabled :: Maybe (Value Bool)
isoCountryCode :: Value Text
mandatoryKeywords :: MandatoryKeywordsProperty
numberCapabilities :: ValueList Text
numberType :: Value Text
optOutListName :: Maybe (Value Text)
optionalKeywords :: Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
twoWay :: Maybe TwoWayProperty
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
              [Key
"IsoCountryCode" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
isoCountryCode,
               Key
"MandatoryKeywords" Key -> MandatoryKeywordsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= MandatoryKeywordsProperty
mandatoryKeywords,
               Key
"NumberCapabilities" Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ValueList Text
numberCapabilities,
               Key
"NumberType" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
numberType]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DeletionProtectionEnabled"
                    (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
deletionProtectionEnabled,
                  Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"OptOutListName" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
optOutListName,
                  Key -> [OptionalKeywordProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"OptionalKeywords" ([OptionalKeywordProperty] -> (Key, Value))
-> Maybe [OptionalKeywordProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [OptionalKeywordProperty]
optionalKeywords,
                  Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SelfManagedOptOutsEnabled"
                    (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
selfManagedOptOutsEnabled,
                  Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags,
                  Key -> TwoWayProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"TwoWay" (TwoWayProperty -> (Key, Value))
-> Maybe TwoWayProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe TwoWayProperty
twoWay])))
instance Property "DeletionProtectionEnabled" PhoneNumber where
  type PropertyType "DeletionProtectionEnabled" PhoneNumber = Value Prelude.Bool
  set :: PropertyType "DeletionProtectionEnabled" PhoneNumber
-> PhoneNumber -> PhoneNumber
set PropertyType "DeletionProtectionEnabled" PhoneNumber
newValue PhoneNumber {Maybe [Tag]
Maybe [OptionalKeywordProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe TwoWayProperty
()
ValueList Text
Value Text
MandatoryKeywordsProperty
haddock_workaround_ :: PhoneNumber -> ()
deletionProtectionEnabled :: PhoneNumber -> Maybe (Value Bool)
isoCountryCode :: PhoneNumber -> Value Text
mandatoryKeywords :: PhoneNumber -> MandatoryKeywordsProperty
numberCapabilities :: PhoneNumber -> ValueList Text
numberType :: PhoneNumber -> Value Text
optOutListName :: PhoneNumber -> Maybe (Value Text)
optionalKeywords :: PhoneNumber -> Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: PhoneNumber -> Maybe (Value Bool)
tags :: PhoneNumber -> Maybe [Tag]
twoWay :: PhoneNumber -> Maybe TwoWayProperty
haddock_workaround_ :: ()
deletionProtectionEnabled :: Maybe (Value Bool)
isoCountryCode :: Value Text
mandatoryKeywords :: MandatoryKeywordsProperty
numberCapabilities :: ValueList Text
numberType :: Value Text
optOutListName :: Maybe (Value Text)
optionalKeywords :: Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
twoWay :: Maybe TwoWayProperty
..}
    = PhoneNumber
        {deletionProtectionEnabled :: Maybe (Value Bool)
deletionProtectionEnabled = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DeletionProtectionEnabled" PhoneNumber
Value Bool
newValue, Maybe [Tag]
Maybe [OptionalKeywordProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe TwoWayProperty
()
ValueList Text
Value Text
MandatoryKeywordsProperty
haddock_workaround_ :: ()
isoCountryCode :: Value Text
mandatoryKeywords :: MandatoryKeywordsProperty
numberCapabilities :: ValueList Text
numberType :: Value Text
optOutListName :: Maybe (Value Text)
optionalKeywords :: Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
twoWay :: Maybe TwoWayProperty
haddock_workaround_ :: ()
isoCountryCode :: Value Text
mandatoryKeywords :: MandatoryKeywordsProperty
numberCapabilities :: ValueList Text
numberType :: Value Text
optOutListName :: Maybe (Value Text)
optionalKeywords :: Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
twoWay :: Maybe TwoWayProperty
..}
instance Property "IsoCountryCode" PhoneNumber where
  type PropertyType "IsoCountryCode" PhoneNumber = Value Prelude.Text
  set :: PropertyType "IsoCountryCode" PhoneNumber
-> PhoneNumber -> PhoneNumber
set PropertyType "IsoCountryCode" PhoneNumber
newValue PhoneNumber {Maybe [Tag]
Maybe [OptionalKeywordProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe TwoWayProperty
()
ValueList Text
Value Text
MandatoryKeywordsProperty
haddock_workaround_ :: PhoneNumber -> ()
deletionProtectionEnabled :: PhoneNumber -> Maybe (Value Bool)
isoCountryCode :: PhoneNumber -> Value Text
mandatoryKeywords :: PhoneNumber -> MandatoryKeywordsProperty
numberCapabilities :: PhoneNumber -> ValueList Text
numberType :: PhoneNumber -> Value Text
optOutListName :: PhoneNumber -> Maybe (Value Text)
optionalKeywords :: PhoneNumber -> Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: PhoneNumber -> Maybe (Value Bool)
tags :: PhoneNumber -> Maybe [Tag]
twoWay :: PhoneNumber -> Maybe TwoWayProperty
haddock_workaround_ :: ()
deletionProtectionEnabled :: Maybe (Value Bool)
isoCountryCode :: Value Text
mandatoryKeywords :: MandatoryKeywordsProperty
numberCapabilities :: ValueList Text
numberType :: Value Text
optOutListName :: Maybe (Value Text)
optionalKeywords :: Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
twoWay :: Maybe TwoWayProperty
..}
    = PhoneNumber {isoCountryCode :: Value Text
isoCountryCode = PropertyType "IsoCountryCode" PhoneNumber
Value Text
newValue, Maybe [Tag]
Maybe [OptionalKeywordProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe TwoWayProperty
()
ValueList Text
Value Text
MandatoryKeywordsProperty
haddock_workaround_ :: ()
deletionProtectionEnabled :: Maybe (Value Bool)
mandatoryKeywords :: MandatoryKeywordsProperty
numberCapabilities :: ValueList Text
numberType :: Value Text
optOutListName :: Maybe (Value Text)
optionalKeywords :: Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
twoWay :: Maybe TwoWayProperty
haddock_workaround_ :: ()
deletionProtectionEnabled :: Maybe (Value Bool)
mandatoryKeywords :: MandatoryKeywordsProperty
numberCapabilities :: ValueList Text
numberType :: Value Text
optOutListName :: Maybe (Value Text)
optionalKeywords :: Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
twoWay :: Maybe TwoWayProperty
..}
instance Property "MandatoryKeywords" PhoneNumber where
  type PropertyType "MandatoryKeywords" PhoneNumber = MandatoryKeywordsProperty
  set :: PropertyType "MandatoryKeywords" PhoneNumber
-> PhoneNumber -> PhoneNumber
set PropertyType "MandatoryKeywords" PhoneNumber
newValue PhoneNumber {Maybe [Tag]
Maybe [OptionalKeywordProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe TwoWayProperty
()
ValueList Text
Value Text
MandatoryKeywordsProperty
haddock_workaround_ :: PhoneNumber -> ()
deletionProtectionEnabled :: PhoneNumber -> Maybe (Value Bool)
isoCountryCode :: PhoneNumber -> Value Text
mandatoryKeywords :: PhoneNumber -> MandatoryKeywordsProperty
numberCapabilities :: PhoneNumber -> ValueList Text
numberType :: PhoneNumber -> Value Text
optOutListName :: PhoneNumber -> Maybe (Value Text)
optionalKeywords :: PhoneNumber -> Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: PhoneNumber -> Maybe (Value Bool)
tags :: PhoneNumber -> Maybe [Tag]
twoWay :: PhoneNumber -> Maybe TwoWayProperty
haddock_workaround_ :: ()
deletionProtectionEnabled :: Maybe (Value Bool)
isoCountryCode :: Value Text
mandatoryKeywords :: MandatoryKeywordsProperty
numberCapabilities :: ValueList Text
numberType :: Value Text
optOutListName :: Maybe (Value Text)
optionalKeywords :: Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
twoWay :: Maybe TwoWayProperty
..}
    = PhoneNumber {mandatoryKeywords :: MandatoryKeywordsProperty
mandatoryKeywords = PropertyType "MandatoryKeywords" PhoneNumber
MandatoryKeywordsProperty
newValue, Maybe [Tag]
Maybe [OptionalKeywordProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe TwoWayProperty
()
ValueList Text
Value Text
haddock_workaround_ :: ()
deletionProtectionEnabled :: Maybe (Value Bool)
isoCountryCode :: Value Text
numberCapabilities :: ValueList Text
numberType :: Value Text
optOutListName :: Maybe (Value Text)
optionalKeywords :: Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
twoWay :: Maybe TwoWayProperty
haddock_workaround_ :: ()
deletionProtectionEnabled :: Maybe (Value Bool)
isoCountryCode :: Value Text
numberCapabilities :: ValueList Text
numberType :: Value Text
optOutListName :: Maybe (Value Text)
optionalKeywords :: Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
twoWay :: Maybe TwoWayProperty
..}
instance Property "NumberCapabilities" PhoneNumber where
  type PropertyType "NumberCapabilities" PhoneNumber = ValueList Prelude.Text
  set :: PropertyType "NumberCapabilities" PhoneNumber
-> PhoneNumber -> PhoneNumber
set PropertyType "NumberCapabilities" PhoneNumber
newValue PhoneNumber {Maybe [Tag]
Maybe [OptionalKeywordProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe TwoWayProperty
()
ValueList Text
Value Text
MandatoryKeywordsProperty
haddock_workaround_ :: PhoneNumber -> ()
deletionProtectionEnabled :: PhoneNumber -> Maybe (Value Bool)
isoCountryCode :: PhoneNumber -> Value Text
mandatoryKeywords :: PhoneNumber -> MandatoryKeywordsProperty
numberCapabilities :: PhoneNumber -> ValueList Text
numberType :: PhoneNumber -> Value Text
optOutListName :: PhoneNumber -> Maybe (Value Text)
optionalKeywords :: PhoneNumber -> Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: PhoneNumber -> Maybe (Value Bool)
tags :: PhoneNumber -> Maybe [Tag]
twoWay :: PhoneNumber -> Maybe TwoWayProperty
haddock_workaround_ :: ()
deletionProtectionEnabled :: Maybe (Value Bool)
isoCountryCode :: Value Text
mandatoryKeywords :: MandatoryKeywordsProperty
numberCapabilities :: ValueList Text
numberType :: Value Text
optOutListName :: Maybe (Value Text)
optionalKeywords :: Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
twoWay :: Maybe TwoWayProperty
..}
    = PhoneNumber {numberCapabilities :: ValueList Text
numberCapabilities = PropertyType "NumberCapabilities" PhoneNumber
ValueList Text
newValue, Maybe [Tag]
Maybe [OptionalKeywordProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe TwoWayProperty
()
Value Text
MandatoryKeywordsProperty
haddock_workaround_ :: ()
deletionProtectionEnabled :: Maybe (Value Bool)
isoCountryCode :: Value Text
mandatoryKeywords :: MandatoryKeywordsProperty
numberType :: Value Text
optOutListName :: Maybe (Value Text)
optionalKeywords :: Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
twoWay :: Maybe TwoWayProperty
haddock_workaround_ :: ()
deletionProtectionEnabled :: Maybe (Value Bool)
isoCountryCode :: Value Text
mandatoryKeywords :: MandatoryKeywordsProperty
numberType :: Value Text
optOutListName :: Maybe (Value Text)
optionalKeywords :: Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
twoWay :: Maybe TwoWayProperty
..}
instance Property "NumberType" PhoneNumber where
  type PropertyType "NumberType" PhoneNumber = Value Prelude.Text
  set :: PropertyType "NumberType" PhoneNumber -> PhoneNumber -> PhoneNumber
set PropertyType "NumberType" PhoneNumber
newValue PhoneNumber {Maybe [Tag]
Maybe [OptionalKeywordProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe TwoWayProperty
()
ValueList Text
Value Text
MandatoryKeywordsProperty
haddock_workaround_ :: PhoneNumber -> ()
deletionProtectionEnabled :: PhoneNumber -> Maybe (Value Bool)
isoCountryCode :: PhoneNumber -> Value Text
mandatoryKeywords :: PhoneNumber -> MandatoryKeywordsProperty
numberCapabilities :: PhoneNumber -> ValueList Text
numberType :: PhoneNumber -> Value Text
optOutListName :: PhoneNumber -> Maybe (Value Text)
optionalKeywords :: PhoneNumber -> Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: PhoneNumber -> Maybe (Value Bool)
tags :: PhoneNumber -> Maybe [Tag]
twoWay :: PhoneNumber -> Maybe TwoWayProperty
haddock_workaround_ :: ()
deletionProtectionEnabled :: Maybe (Value Bool)
isoCountryCode :: Value Text
mandatoryKeywords :: MandatoryKeywordsProperty
numberCapabilities :: ValueList Text
numberType :: Value Text
optOutListName :: Maybe (Value Text)
optionalKeywords :: Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
twoWay :: Maybe TwoWayProperty
..}
    = PhoneNumber {numberType :: Value Text
numberType = PropertyType "NumberType" PhoneNumber
Value Text
newValue, Maybe [Tag]
Maybe [OptionalKeywordProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe TwoWayProperty
()
ValueList Text
Value Text
MandatoryKeywordsProperty
haddock_workaround_ :: ()
deletionProtectionEnabled :: Maybe (Value Bool)
isoCountryCode :: Value Text
mandatoryKeywords :: MandatoryKeywordsProperty
numberCapabilities :: ValueList Text
optOutListName :: Maybe (Value Text)
optionalKeywords :: Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
twoWay :: Maybe TwoWayProperty
haddock_workaround_ :: ()
deletionProtectionEnabled :: Maybe (Value Bool)
isoCountryCode :: Value Text
mandatoryKeywords :: MandatoryKeywordsProperty
numberCapabilities :: ValueList Text
optOutListName :: Maybe (Value Text)
optionalKeywords :: Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
twoWay :: Maybe TwoWayProperty
..}
instance Property "OptOutListName" PhoneNumber where
  type PropertyType "OptOutListName" PhoneNumber = Value Prelude.Text
  set :: PropertyType "OptOutListName" PhoneNumber
-> PhoneNumber -> PhoneNumber
set PropertyType "OptOutListName" PhoneNumber
newValue PhoneNumber {Maybe [Tag]
Maybe [OptionalKeywordProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe TwoWayProperty
()
ValueList Text
Value Text
MandatoryKeywordsProperty
haddock_workaround_ :: PhoneNumber -> ()
deletionProtectionEnabled :: PhoneNumber -> Maybe (Value Bool)
isoCountryCode :: PhoneNumber -> Value Text
mandatoryKeywords :: PhoneNumber -> MandatoryKeywordsProperty
numberCapabilities :: PhoneNumber -> ValueList Text
numberType :: PhoneNumber -> Value Text
optOutListName :: PhoneNumber -> Maybe (Value Text)
optionalKeywords :: PhoneNumber -> Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: PhoneNumber -> Maybe (Value Bool)
tags :: PhoneNumber -> Maybe [Tag]
twoWay :: PhoneNumber -> Maybe TwoWayProperty
haddock_workaround_ :: ()
deletionProtectionEnabled :: Maybe (Value Bool)
isoCountryCode :: Value Text
mandatoryKeywords :: MandatoryKeywordsProperty
numberCapabilities :: ValueList Text
numberType :: Value Text
optOutListName :: Maybe (Value Text)
optionalKeywords :: Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
twoWay :: Maybe TwoWayProperty
..}
    = PhoneNumber {optOutListName :: Maybe (Value Text)
optOutListName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "OptOutListName" PhoneNumber
Value Text
newValue, Maybe [Tag]
Maybe [OptionalKeywordProperty]
Maybe (Value Bool)
Maybe TwoWayProperty
()
ValueList Text
Value Text
MandatoryKeywordsProperty
haddock_workaround_ :: ()
deletionProtectionEnabled :: Maybe (Value Bool)
isoCountryCode :: Value Text
mandatoryKeywords :: MandatoryKeywordsProperty
numberCapabilities :: ValueList Text
numberType :: Value Text
optionalKeywords :: Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
twoWay :: Maybe TwoWayProperty
haddock_workaround_ :: ()
deletionProtectionEnabled :: Maybe (Value Bool)
isoCountryCode :: Value Text
mandatoryKeywords :: MandatoryKeywordsProperty
numberCapabilities :: ValueList Text
numberType :: Value Text
optionalKeywords :: Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
twoWay :: Maybe TwoWayProperty
..}
instance Property "OptionalKeywords" PhoneNumber where
  type PropertyType "OptionalKeywords" PhoneNumber = [OptionalKeywordProperty]
  set :: PropertyType "OptionalKeywords" PhoneNumber
-> PhoneNumber -> PhoneNumber
set PropertyType "OptionalKeywords" PhoneNumber
newValue PhoneNumber {Maybe [Tag]
Maybe [OptionalKeywordProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe TwoWayProperty
()
ValueList Text
Value Text
MandatoryKeywordsProperty
haddock_workaround_ :: PhoneNumber -> ()
deletionProtectionEnabled :: PhoneNumber -> Maybe (Value Bool)
isoCountryCode :: PhoneNumber -> Value Text
mandatoryKeywords :: PhoneNumber -> MandatoryKeywordsProperty
numberCapabilities :: PhoneNumber -> ValueList Text
numberType :: PhoneNumber -> Value Text
optOutListName :: PhoneNumber -> Maybe (Value Text)
optionalKeywords :: PhoneNumber -> Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: PhoneNumber -> Maybe (Value Bool)
tags :: PhoneNumber -> Maybe [Tag]
twoWay :: PhoneNumber -> Maybe TwoWayProperty
haddock_workaround_ :: ()
deletionProtectionEnabled :: Maybe (Value Bool)
isoCountryCode :: Value Text
mandatoryKeywords :: MandatoryKeywordsProperty
numberCapabilities :: ValueList Text
numberType :: Value Text
optOutListName :: Maybe (Value Text)
optionalKeywords :: Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
twoWay :: Maybe TwoWayProperty
..}
    = PhoneNumber {optionalKeywords :: Maybe [OptionalKeywordProperty]
optionalKeywords = [OptionalKeywordProperty] -> Maybe [OptionalKeywordProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [OptionalKeywordProperty]
PropertyType "OptionalKeywords" PhoneNumber
newValue, Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
Maybe TwoWayProperty
()
ValueList Text
Value Text
MandatoryKeywordsProperty
haddock_workaround_ :: ()
deletionProtectionEnabled :: Maybe (Value Bool)
isoCountryCode :: Value Text
mandatoryKeywords :: MandatoryKeywordsProperty
numberCapabilities :: ValueList Text
numberType :: Value Text
optOutListName :: Maybe (Value Text)
selfManagedOptOutsEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
twoWay :: Maybe TwoWayProperty
haddock_workaround_ :: ()
deletionProtectionEnabled :: Maybe (Value Bool)
isoCountryCode :: Value Text
mandatoryKeywords :: MandatoryKeywordsProperty
numberCapabilities :: ValueList Text
numberType :: Value Text
optOutListName :: Maybe (Value Text)
selfManagedOptOutsEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
twoWay :: Maybe TwoWayProperty
..}
instance Property "SelfManagedOptOutsEnabled" PhoneNumber where
  type PropertyType "SelfManagedOptOutsEnabled" PhoneNumber = Value Prelude.Bool
  set :: PropertyType "SelfManagedOptOutsEnabled" PhoneNumber
-> PhoneNumber -> PhoneNumber
set PropertyType "SelfManagedOptOutsEnabled" PhoneNumber
newValue PhoneNumber {Maybe [Tag]
Maybe [OptionalKeywordProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe TwoWayProperty
()
ValueList Text
Value Text
MandatoryKeywordsProperty
haddock_workaround_ :: PhoneNumber -> ()
deletionProtectionEnabled :: PhoneNumber -> Maybe (Value Bool)
isoCountryCode :: PhoneNumber -> Value Text
mandatoryKeywords :: PhoneNumber -> MandatoryKeywordsProperty
numberCapabilities :: PhoneNumber -> ValueList Text
numberType :: PhoneNumber -> Value Text
optOutListName :: PhoneNumber -> Maybe (Value Text)
optionalKeywords :: PhoneNumber -> Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: PhoneNumber -> Maybe (Value Bool)
tags :: PhoneNumber -> Maybe [Tag]
twoWay :: PhoneNumber -> Maybe TwoWayProperty
haddock_workaround_ :: ()
deletionProtectionEnabled :: Maybe (Value Bool)
isoCountryCode :: Value Text
mandatoryKeywords :: MandatoryKeywordsProperty
numberCapabilities :: ValueList Text
numberType :: Value Text
optOutListName :: Maybe (Value Text)
optionalKeywords :: Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
twoWay :: Maybe TwoWayProperty
..}
    = PhoneNumber
        {selfManagedOptOutsEnabled :: Maybe (Value Bool)
selfManagedOptOutsEnabled = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SelfManagedOptOutsEnabled" PhoneNumber
Value Bool
newValue, Maybe [Tag]
Maybe [OptionalKeywordProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe TwoWayProperty
()
ValueList Text
Value Text
MandatoryKeywordsProperty
haddock_workaround_ :: ()
deletionProtectionEnabled :: Maybe (Value Bool)
isoCountryCode :: Value Text
mandatoryKeywords :: MandatoryKeywordsProperty
numberCapabilities :: ValueList Text
numberType :: Value Text
optOutListName :: Maybe (Value Text)
optionalKeywords :: Maybe [OptionalKeywordProperty]
tags :: Maybe [Tag]
twoWay :: Maybe TwoWayProperty
haddock_workaround_ :: ()
deletionProtectionEnabled :: Maybe (Value Bool)
isoCountryCode :: Value Text
mandatoryKeywords :: MandatoryKeywordsProperty
numberCapabilities :: ValueList Text
numberType :: Value Text
optOutListName :: Maybe (Value Text)
optionalKeywords :: Maybe [OptionalKeywordProperty]
tags :: Maybe [Tag]
twoWay :: Maybe TwoWayProperty
..}
instance Property "Tags" PhoneNumber where
  type PropertyType "Tags" PhoneNumber = [Tag]
  set :: PropertyType "Tags" PhoneNumber -> PhoneNumber -> PhoneNumber
set PropertyType "Tags" PhoneNumber
newValue PhoneNumber {Maybe [Tag]
Maybe [OptionalKeywordProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe TwoWayProperty
()
ValueList Text
Value Text
MandatoryKeywordsProperty
haddock_workaround_ :: PhoneNumber -> ()
deletionProtectionEnabled :: PhoneNumber -> Maybe (Value Bool)
isoCountryCode :: PhoneNumber -> Value Text
mandatoryKeywords :: PhoneNumber -> MandatoryKeywordsProperty
numberCapabilities :: PhoneNumber -> ValueList Text
numberType :: PhoneNumber -> Value Text
optOutListName :: PhoneNumber -> Maybe (Value Text)
optionalKeywords :: PhoneNumber -> Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: PhoneNumber -> Maybe (Value Bool)
tags :: PhoneNumber -> Maybe [Tag]
twoWay :: PhoneNumber -> Maybe TwoWayProperty
haddock_workaround_ :: ()
deletionProtectionEnabled :: Maybe (Value Bool)
isoCountryCode :: Value Text
mandatoryKeywords :: MandatoryKeywordsProperty
numberCapabilities :: ValueList Text
numberType :: Value Text
optOutListName :: Maybe (Value Text)
optionalKeywords :: Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
twoWay :: Maybe TwoWayProperty
..}
    = PhoneNumber {tags :: Maybe [Tag]
tags = [Tag] -> Maybe [Tag]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [Tag]
PropertyType "Tags" PhoneNumber
newValue, Maybe [OptionalKeywordProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe TwoWayProperty
()
ValueList Text
Value Text
MandatoryKeywordsProperty
haddock_workaround_ :: ()
deletionProtectionEnabled :: Maybe (Value Bool)
isoCountryCode :: Value Text
mandatoryKeywords :: MandatoryKeywordsProperty
numberCapabilities :: ValueList Text
numberType :: Value Text
optOutListName :: Maybe (Value Text)
optionalKeywords :: Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: Maybe (Value Bool)
twoWay :: Maybe TwoWayProperty
haddock_workaround_ :: ()
deletionProtectionEnabled :: Maybe (Value Bool)
isoCountryCode :: Value Text
mandatoryKeywords :: MandatoryKeywordsProperty
numberCapabilities :: ValueList Text
numberType :: Value Text
optOutListName :: Maybe (Value Text)
optionalKeywords :: Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: Maybe (Value Bool)
twoWay :: Maybe TwoWayProperty
..}
instance Property "TwoWay" PhoneNumber where
  type PropertyType "TwoWay" PhoneNumber = TwoWayProperty
  set :: PropertyType "TwoWay" PhoneNumber -> PhoneNumber -> PhoneNumber
set PropertyType "TwoWay" PhoneNumber
newValue PhoneNumber {Maybe [Tag]
Maybe [OptionalKeywordProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe TwoWayProperty
()
ValueList Text
Value Text
MandatoryKeywordsProperty
haddock_workaround_ :: PhoneNumber -> ()
deletionProtectionEnabled :: PhoneNumber -> Maybe (Value Bool)
isoCountryCode :: PhoneNumber -> Value Text
mandatoryKeywords :: PhoneNumber -> MandatoryKeywordsProperty
numberCapabilities :: PhoneNumber -> ValueList Text
numberType :: PhoneNumber -> Value Text
optOutListName :: PhoneNumber -> Maybe (Value Text)
optionalKeywords :: PhoneNumber -> Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: PhoneNumber -> Maybe (Value Bool)
tags :: PhoneNumber -> Maybe [Tag]
twoWay :: PhoneNumber -> Maybe TwoWayProperty
haddock_workaround_ :: ()
deletionProtectionEnabled :: Maybe (Value Bool)
isoCountryCode :: Value Text
mandatoryKeywords :: MandatoryKeywordsProperty
numberCapabilities :: ValueList Text
numberType :: Value Text
optOutListName :: Maybe (Value Text)
optionalKeywords :: Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
twoWay :: Maybe TwoWayProperty
..}
    = PhoneNumber {twoWay :: Maybe TwoWayProperty
twoWay = TwoWayProperty -> Maybe TwoWayProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "TwoWay" PhoneNumber
TwoWayProperty
newValue, Maybe [Tag]
Maybe [OptionalKeywordProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
ValueList Text
Value Text
MandatoryKeywordsProperty
haddock_workaround_ :: ()
deletionProtectionEnabled :: Maybe (Value Bool)
isoCountryCode :: Value Text
mandatoryKeywords :: MandatoryKeywordsProperty
numberCapabilities :: ValueList Text
numberType :: Value Text
optOutListName :: Maybe (Value Text)
optionalKeywords :: Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
deletionProtectionEnabled :: Maybe (Value Bool)
isoCountryCode :: Value Text
mandatoryKeywords :: MandatoryKeywordsProperty
numberCapabilities :: ValueList Text
numberType :: Value Text
optOutListName :: Maybe (Value Text)
optionalKeywords :: Maybe [OptionalKeywordProperty]
selfManagedOptOutsEnabled :: Maybe (Value Bool)
tags :: Maybe [Tag]
..}