module Stratosphere.Pinpoint.Campaign (
module Exports, Campaign(..), mkCampaign
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Pinpoint.Campaign.CampaignHookProperty as Exports
import {-# SOURCE #-} Stratosphere.Pinpoint.Campaign.CustomDeliveryConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.Pinpoint.Campaign.LimitsProperty as Exports
import {-# SOURCE #-} Stratosphere.Pinpoint.Campaign.MessageConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.Pinpoint.Campaign.ScheduleProperty as Exports
import {-# SOURCE #-} Stratosphere.Pinpoint.Campaign.TemplateConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.Pinpoint.Campaign.WriteTreatmentResourceProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data Campaign
=
Campaign {Campaign -> ()
haddock_workaround_ :: (),
Campaign -> Maybe [WriteTreatmentResourceProperty]
additionalTreatments :: (Prelude.Maybe [WriteTreatmentResourceProperty]),
Campaign -> Value Text
applicationId :: (Value Prelude.Text),
Campaign -> Maybe CampaignHookProperty
campaignHook :: (Prelude.Maybe CampaignHookProperty),
Campaign -> Maybe CustomDeliveryConfigurationProperty
customDeliveryConfiguration :: (Prelude.Maybe CustomDeliveryConfigurationProperty),
Campaign -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
Campaign -> Maybe (Value Integer)
holdoutPercent :: (Prelude.Maybe (Value Prelude.Integer)),
Campaign -> Maybe (Value Bool)
isPaused :: (Prelude.Maybe (Value Prelude.Bool)),
Campaign -> Maybe LimitsProperty
limits :: (Prelude.Maybe LimitsProperty),
Campaign -> Maybe MessageConfigurationProperty
messageConfiguration :: (Prelude.Maybe MessageConfigurationProperty),
Campaign -> Value Text
name :: (Value Prelude.Text),
Campaign -> Maybe (Value Integer)
priority :: (Prelude.Maybe (Value Prelude.Integer)),
Campaign -> ScheduleProperty
schedule :: ScheduleProperty,
Campaign -> Value Text
segmentId :: (Value Prelude.Text),
Campaign -> Maybe (Value Integer)
segmentVersion :: (Prelude.Maybe (Value Prelude.Integer)),
Campaign -> Maybe Object
tags :: (Prelude.Maybe JSON.Object),
Campaign -> Maybe TemplateConfigurationProperty
templateConfiguration :: (Prelude.Maybe TemplateConfigurationProperty),
Campaign -> Maybe (Value Text)
treatmentDescription :: (Prelude.Maybe (Value Prelude.Text)),
Campaign -> Maybe (Value Text)
treatmentName :: (Prelude.Maybe (Value Prelude.Text))}
deriving stock (Campaign -> Campaign -> Bool
(Campaign -> Campaign -> Bool)
-> (Campaign -> Campaign -> Bool) -> Eq Campaign
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: Campaign -> Campaign -> Bool
== :: Campaign -> Campaign -> Bool
$c/= :: Campaign -> Campaign -> Bool
/= :: Campaign -> Campaign -> Bool
Prelude.Eq, Int -> Campaign -> ShowS
[Campaign] -> ShowS
Campaign -> String
(Int -> Campaign -> ShowS)
-> (Campaign -> String) -> ([Campaign] -> ShowS) -> Show Campaign
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> Campaign -> ShowS
showsPrec :: Int -> Campaign -> ShowS
$cshow :: Campaign -> String
show :: Campaign -> String
$cshowList :: [Campaign] -> ShowS
showList :: [Campaign] -> ShowS
Prelude.Show)
mkCampaign ::
Value Prelude.Text
-> Value Prelude.Text
-> ScheduleProperty -> Value Prelude.Text -> Campaign
mkCampaign :: Value Text
-> Value Text -> ScheduleProperty -> Value Text -> Campaign
mkCampaign Value Text
applicationId Value Text
name ScheduleProperty
schedule Value Text
segmentId
= Campaign
{haddock_workaround_ :: ()
haddock_workaround_ = (), applicationId :: Value Text
applicationId = Value Text
applicationId,
name :: Value Text
name = Value Text
name, schedule :: ScheduleProperty
schedule = ScheduleProperty
schedule, segmentId :: Value Text
segmentId = Value Text
segmentId,
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
additionalTreatments = Maybe [WriteTreatmentResourceProperty]
forall a. Maybe a
Prelude.Nothing,
campaignHook :: Maybe CampaignHookProperty
campaignHook = Maybe CampaignHookProperty
forall a. Maybe a
Prelude.Nothing,
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
customDeliveryConfiguration = Maybe CustomDeliveryConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, holdoutPercent :: Maybe (Value Integer)
holdoutPercent = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
isPaused :: Maybe (Value Bool)
isPaused = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing, limits :: Maybe LimitsProperty
limits = Maybe LimitsProperty
forall a. Maybe a
Prelude.Nothing,
messageConfiguration :: Maybe MessageConfigurationProperty
messageConfiguration = Maybe MessageConfigurationProperty
forall a. Maybe a
Prelude.Nothing, priority :: Maybe (Value Integer)
priority = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
segmentVersion :: Maybe (Value Integer)
segmentVersion = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing, tags :: Maybe Object
tags = Maybe Object
forall a. Maybe a
Prelude.Nothing,
templateConfiguration :: Maybe TemplateConfigurationProperty
templateConfiguration = Maybe TemplateConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
treatmentDescription :: Maybe (Value Text)
treatmentDescription = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
treatmentName :: Maybe (Value Text)
treatmentName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties Campaign where
toResourceProperties :: Campaign -> ResourceProperties
toResourceProperties Campaign {Maybe [WriteTreatmentResourceProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe CustomDeliveryConfigurationProperty
Maybe LimitsProperty
Maybe MessageConfigurationProperty
Maybe TemplateConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: Campaign -> ()
additionalTreatments :: Campaign -> Maybe [WriteTreatmentResourceProperty]
applicationId :: Campaign -> Value Text
campaignHook :: Campaign -> Maybe CampaignHookProperty
customDeliveryConfiguration :: Campaign -> Maybe CustomDeliveryConfigurationProperty
description :: Campaign -> Maybe (Value Text)
holdoutPercent :: Campaign -> Maybe (Value Integer)
isPaused :: Campaign -> Maybe (Value Bool)
limits :: Campaign -> Maybe LimitsProperty
messageConfiguration :: Campaign -> Maybe MessageConfigurationProperty
name :: Campaign -> Value Text
priority :: Campaign -> Maybe (Value Integer)
schedule :: Campaign -> ScheduleProperty
segmentId :: Campaign -> Value Text
segmentVersion :: Campaign -> Maybe (Value Integer)
tags :: Campaign -> Maybe Object
templateConfiguration :: Campaign -> Maybe TemplateConfigurationProperty
treatmentDescription :: Campaign -> Maybe (Value Text)
treatmentName :: Campaign -> Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::Pinpoint::Campaign", 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
"ApplicationId" 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
applicationId, Key
"Name" 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
name,
Key
"Schedule" Key -> ScheduleProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ScheduleProperty
schedule, Key
"SegmentId" 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
segmentId]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> [WriteTreatmentResourceProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AdditionalTreatments" ([WriteTreatmentResourceProperty] -> (Key, Value))
-> Maybe [WriteTreatmentResourceProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [WriteTreatmentResourceProperty]
additionalTreatments,
Key -> CampaignHookProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CampaignHook" (CampaignHookProperty -> (Key, Value))
-> Maybe CampaignHookProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CampaignHookProperty
campaignHook,
Key -> CustomDeliveryConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CustomDeliveryConfiguration"
(CustomDeliveryConfigurationProperty -> (Key, Value))
-> Maybe CustomDeliveryConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CustomDeliveryConfigurationProperty
customDeliveryConfiguration,
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
"Description" (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)
description,
Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"HoldoutPercent" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
holdoutPercent,
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
"IsPaused" (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)
isPaused,
Key -> LimitsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Limits" (LimitsProperty -> (Key, Value))
-> Maybe LimitsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe LimitsProperty
limits,
Key -> MessageConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MessageConfiguration" (MessageConfigurationProperty -> (Key, Value))
-> Maybe MessageConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe MessageConfigurationProperty
messageConfiguration,
Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Priority" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
priority,
Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SegmentVersion" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
segmentVersion,
Key -> Object -> (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" (Object -> (Key, Value)) -> Maybe Object -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Object
tags,
Key -> TemplateConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"TemplateConfiguration"
(TemplateConfigurationProperty -> (Key, Value))
-> Maybe TemplateConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe TemplateConfigurationProperty
templateConfiguration,
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
"TreatmentDescription" (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)
treatmentDescription,
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
"TreatmentName" (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)
treatmentName]))}
instance JSON.ToJSON Campaign where
toJSON :: Campaign -> Value
toJSON Campaign {Maybe [WriteTreatmentResourceProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe CustomDeliveryConfigurationProperty
Maybe LimitsProperty
Maybe MessageConfigurationProperty
Maybe TemplateConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: Campaign -> ()
additionalTreatments :: Campaign -> Maybe [WriteTreatmentResourceProperty]
applicationId :: Campaign -> Value Text
campaignHook :: Campaign -> Maybe CampaignHookProperty
customDeliveryConfiguration :: Campaign -> Maybe CustomDeliveryConfigurationProperty
description :: Campaign -> Maybe (Value Text)
holdoutPercent :: Campaign -> Maybe (Value Integer)
isPaused :: Campaign -> Maybe (Value Bool)
limits :: Campaign -> Maybe LimitsProperty
messageConfiguration :: Campaign -> Maybe MessageConfigurationProperty
name :: Campaign -> Value Text
priority :: Campaign -> Maybe (Value Integer)
schedule :: Campaign -> ScheduleProperty
segmentId :: Campaign -> Value Text
segmentVersion :: Campaign -> Maybe (Value Integer)
tags :: Campaign -> Maybe Object
templateConfiguration :: Campaign -> Maybe TemplateConfigurationProperty
treatmentDescription :: Campaign -> Maybe (Value Text)
treatmentName :: Campaign -> Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
..}
= [(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
"ApplicationId" 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
applicationId, Key
"Name" 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
name,
Key
"Schedule" Key -> ScheduleProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ScheduleProperty
schedule, Key
"SegmentId" 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
segmentId]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> [WriteTreatmentResourceProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AdditionalTreatments" ([WriteTreatmentResourceProperty] -> (Key, Value))
-> Maybe [WriteTreatmentResourceProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [WriteTreatmentResourceProperty]
additionalTreatments,
Key -> CampaignHookProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CampaignHook" (CampaignHookProperty -> (Key, Value))
-> Maybe CampaignHookProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CampaignHookProperty
campaignHook,
Key -> CustomDeliveryConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CustomDeliveryConfiguration"
(CustomDeliveryConfigurationProperty -> (Key, Value))
-> Maybe CustomDeliveryConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CustomDeliveryConfigurationProperty
customDeliveryConfiguration,
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
"Description" (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)
description,
Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"HoldoutPercent" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
holdoutPercent,
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
"IsPaused" (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)
isPaused,
Key -> LimitsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Limits" (LimitsProperty -> (Key, Value))
-> Maybe LimitsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe LimitsProperty
limits,
Key -> MessageConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MessageConfiguration" (MessageConfigurationProperty -> (Key, Value))
-> Maybe MessageConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe MessageConfigurationProperty
messageConfiguration,
Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Priority" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
priority,
Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SegmentVersion" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
segmentVersion,
Key -> Object -> (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" (Object -> (Key, Value)) -> Maybe Object -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Object
tags,
Key -> TemplateConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"TemplateConfiguration"
(TemplateConfigurationProperty -> (Key, Value))
-> Maybe TemplateConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe TemplateConfigurationProperty
templateConfiguration,
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
"TreatmentDescription" (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)
treatmentDescription,
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
"TreatmentName" (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)
treatmentName])))
instance Property "AdditionalTreatments" Campaign where
type PropertyType "AdditionalTreatments" Campaign = [WriteTreatmentResourceProperty]
set :: PropertyType "AdditionalTreatments" Campaign
-> Campaign -> Campaign
set PropertyType "AdditionalTreatments" Campaign
newValue Campaign {Maybe [WriteTreatmentResourceProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe CustomDeliveryConfigurationProperty
Maybe LimitsProperty
Maybe MessageConfigurationProperty
Maybe TemplateConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: Campaign -> ()
additionalTreatments :: Campaign -> Maybe [WriteTreatmentResourceProperty]
applicationId :: Campaign -> Value Text
campaignHook :: Campaign -> Maybe CampaignHookProperty
customDeliveryConfiguration :: Campaign -> Maybe CustomDeliveryConfigurationProperty
description :: Campaign -> Maybe (Value Text)
holdoutPercent :: Campaign -> Maybe (Value Integer)
isPaused :: Campaign -> Maybe (Value Bool)
limits :: Campaign -> Maybe LimitsProperty
messageConfiguration :: Campaign -> Maybe MessageConfigurationProperty
name :: Campaign -> Value Text
priority :: Campaign -> Maybe (Value Integer)
schedule :: Campaign -> ScheduleProperty
segmentId :: Campaign -> Value Text
segmentVersion :: Campaign -> Maybe (Value Integer)
tags :: Campaign -> Maybe Object
templateConfiguration :: Campaign -> Maybe TemplateConfigurationProperty
treatmentDescription :: Campaign -> Maybe (Value Text)
treatmentName :: Campaign -> Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
..}
= Campaign {additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
additionalTreatments = [WriteTreatmentResourceProperty]
-> Maybe [WriteTreatmentResourceProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [WriteTreatmentResourceProperty]
PropertyType "AdditionalTreatments" Campaign
newValue, Maybe Object
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe CustomDeliveryConfigurationProperty
Maybe LimitsProperty
Maybe MessageConfigurationProperty
Maybe TemplateConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: ()
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
..}
instance Property "ApplicationId" Campaign where
type PropertyType "ApplicationId" Campaign = Value Prelude.Text
set :: PropertyType "ApplicationId" Campaign -> Campaign -> Campaign
set PropertyType "ApplicationId" Campaign
newValue Campaign {Maybe [WriteTreatmentResourceProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe CustomDeliveryConfigurationProperty
Maybe LimitsProperty
Maybe MessageConfigurationProperty
Maybe TemplateConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: Campaign -> ()
additionalTreatments :: Campaign -> Maybe [WriteTreatmentResourceProperty]
applicationId :: Campaign -> Value Text
campaignHook :: Campaign -> Maybe CampaignHookProperty
customDeliveryConfiguration :: Campaign -> Maybe CustomDeliveryConfigurationProperty
description :: Campaign -> Maybe (Value Text)
holdoutPercent :: Campaign -> Maybe (Value Integer)
isPaused :: Campaign -> Maybe (Value Bool)
limits :: Campaign -> Maybe LimitsProperty
messageConfiguration :: Campaign -> Maybe MessageConfigurationProperty
name :: Campaign -> Value Text
priority :: Campaign -> Maybe (Value Integer)
schedule :: Campaign -> ScheduleProperty
segmentId :: Campaign -> Value Text
segmentVersion :: Campaign -> Maybe (Value Integer)
tags :: Campaign -> Maybe Object
templateConfiguration :: Campaign -> Maybe TemplateConfigurationProperty
treatmentDescription :: Campaign -> Maybe (Value Text)
treatmentName :: Campaign -> Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
..}
= Campaign {applicationId :: Value Text
applicationId = PropertyType "ApplicationId" Campaign
Value Text
newValue, Maybe [WriteTreatmentResourceProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe CustomDeliveryConfigurationProperty
Maybe LimitsProperty
Maybe MessageConfigurationProperty
Maybe TemplateConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
..}
instance Property "CampaignHook" Campaign where
type PropertyType "CampaignHook" Campaign = CampaignHookProperty
set :: PropertyType "CampaignHook" Campaign -> Campaign -> Campaign
set PropertyType "CampaignHook" Campaign
newValue Campaign {Maybe [WriteTreatmentResourceProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe CustomDeliveryConfigurationProperty
Maybe LimitsProperty
Maybe MessageConfigurationProperty
Maybe TemplateConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: Campaign -> ()
additionalTreatments :: Campaign -> Maybe [WriteTreatmentResourceProperty]
applicationId :: Campaign -> Value Text
campaignHook :: Campaign -> Maybe CampaignHookProperty
customDeliveryConfiguration :: Campaign -> Maybe CustomDeliveryConfigurationProperty
description :: Campaign -> Maybe (Value Text)
holdoutPercent :: Campaign -> Maybe (Value Integer)
isPaused :: Campaign -> Maybe (Value Bool)
limits :: Campaign -> Maybe LimitsProperty
messageConfiguration :: Campaign -> Maybe MessageConfigurationProperty
name :: Campaign -> Value Text
priority :: Campaign -> Maybe (Value Integer)
schedule :: Campaign -> ScheduleProperty
segmentId :: Campaign -> Value Text
segmentVersion :: Campaign -> Maybe (Value Integer)
tags :: Campaign -> Maybe Object
templateConfiguration :: Campaign -> Maybe TemplateConfigurationProperty
treatmentDescription :: Campaign -> Maybe (Value Text)
treatmentName :: Campaign -> Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
..}
= Campaign {campaignHook :: Maybe CampaignHookProperty
campaignHook = CampaignHookProperty -> Maybe CampaignHookProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CampaignHook" Campaign
CampaignHookProperty
newValue, Maybe [WriteTreatmentResourceProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CustomDeliveryConfigurationProperty
Maybe LimitsProperty
Maybe MessageConfigurationProperty
Maybe TemplateConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
..}
instance Property "CustomDeliveryConfiguration" Campaign where
type PropertyType "CustomDeliveryConfiguration" Campaign = CustomDeliveryConfigurationProperty
set :: PropertyType "CustomDeliveryConfiguration" Campaign
-> Campaign -> Campaign
set PropertyType "CustomDeliveryConfiguration" Campaign
newValue Campaign {Maybe [WriteTreatmentResourceProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe CustomDeliveryConfigurationProperty
Maybe LimitsProperty
Maybe MessageConfigurationProperty
Maybe TemplateConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: Campaign -> ()
additionalTreatments :: Campaign -> Maybe [WriteTreatmentResourceProperty]
applicationId :: Campaign -> Value Text
campaignHook :: Campaign -> Maybe CampaignHookProperty
customDeliveryConfiguration :: Campaign -> Maybe CustomDeliveryConfigurationProperty
description :: Campaign -> Maybe (Value Text)
holdoutPercent :: Campaign -> Maybe (Value Integer)
isPaused :: Campaign -> Maybe (Value Bool)
limits :: Campaign -> Maybe LimitsProperty
messageConfiguration :: Campaign -> Maybe MessageConfigurationProperty
name :: Campaign -> Value Text
priority :: Campaign -> Maybe (Value Integer)
schedule :: Campaign -> ScheduleProperty
segmentId :: Campaign -> Value Text
segmentVersion :: Campaign -> Maybe (Value Integer)
tags :: Campaign -> Maybe Object
templateConfiguration :: Campaign -> Maybe TemplateConfigurationProperty
treatmentDescription :: Campaign -> Maybe (Value Text)
treatmentName :: Campaign -> Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
..}
= Campaign
{customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
customDeliveryConfiguration = CustomDeliveryConfigurationProperty
-> Maybe CustomDeliveryConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CustomDeliveryConfiguration" Campaign
CustomDeliveryConfigurationProperty
newValue, Maybe [WriteTreatmentResourceProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe LimitsProperty
Maybe MessageConfigurationProperty
Maybe TemplateConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
..}
instance Property "Description" Campaign where
type PropertyType "Description" Campaign = Value Prelude.Text
set :: PropertyType "Description" Campaign -> Campaign -> Campaign
set PropertyType "Description" Campaign
newValue Campaign {Maybe [WriteTreatmentResourceProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe CustomDeliveryConfigurationProperty
Maybe LimitsProperty
Maybe MessageConfigurationProperty
Maybe TemplateConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: Campaign -> ()
additionalTreatments :: Campaign -> Maybe [WriteTreatmentResourceProperty]
applicationId :: Campaign -> Value Text
campaignHook :: Campaign -> Maybe CampaignHookProperty
customDeliveryConfiguration :: Campaign -> Maybe CustomDeliveryConfigurationProperty
description :: Campaign -> Maybe (Value Text)
holdoutPercent :: Campaign -> Maybe (Value Integer)
isPaused :: Campaign -> Maybe (Value Bool)
limits :: Campaign -> Maybe LimitsProperty
messageConfiguration :: Campaign -> Maybe MessageConfigurationProperty
name :: Campaign -> Value Text
priority :: Campaign -> Maybe (Value Integer)
schedule :: Campaign -> ScheduleProperty
segmentId :: Campaign -> Value Text
segmentVersion :: Campaign -> Maybe (Value Integer)
tags :: Campaign -> Maybe Object
templateConfiguration :: Campaign -> Maybe TemplateConfigurationProperty
treatmentDescription :: Campaign -> Maybe (Value Text)
treatmentName :: Campaign -> Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
..}
= Campaign {description :: Maybe (Value Text)
description = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Description" Campaign
Value Text
newValue, Maybe [WriteTreatmentResourceProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe CustomDeliveryConfigurationProperty
Maybe LimitsProperty
Maybe MessageConfigurationProperty
Maybe TemplateConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
..}
instance Property "HoldoutPercent" Campaign where
type PropertyType "HoldoutPercent" Campaign = Value Prelude.Integer
set :: PropertyType "HoldoutPercent" Campaign -> Campaign -> Campaign
set PropertyType "HoldoutPercent" Campaign
newValue Campaign {Maybe [WriteTreatmentResourceProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe CustomDeliveryConfigurationProperty
Maybe LimitsProperty
Maybe MessageConfigurationProperty
Maybe TemplateConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: Campaign -> ()
additionalTreatments :: Campaign -> Maybe [WriteTreatmentResourceProperty]
applicationId :: Campaign -> Value Text
campaignHook :: Campaign -> Maybe CampaignHookProperty
customDeliveryConfiguration :: Campaign -> Maybe CustomDeliveryConfigurationProperty
description :: Campaign -> Maybe (Value Text)
holdoutPercent :: Campaign -> Maybe (Value Integer)
isPaused :: Campaign -> Maybe (Value Bool)
limits :: Campaign -> Maybe LimitsProperty
messageConfiguration :: Campaign -> Maybe MessageConfigurationProperty
name :: Campaign -> Value Text
priority :: Campaign -> Maybe (Value Integer)
schedule :: Campaign -> ScheduleProperty
segmentId :: Campaign -> Value Text
segmentVersion :: Campaign -> Maybe (Value Integer)
tags :: Campaign -> Maybe Object
templateConfiguration :: Campaign -> Maybe TemplateConfigurationProperty
treatmentDescription :: Campaign -> Maybe (Value Text)
treatmentName :: Campaign -> Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
..}
= Campaign {holdoutPercent :: Maybe (Value Integer)
holdoutPercent = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "HoldoutPercent" Campaign
Value Integer
newValue, Maybe [WriteTreatmentResourceProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe CustomDeliveryConfigurationProperty
Maybe LimitsProperty
Maybe MessageConfigurationProperty
Maybe TemplateConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
..}
instance Property "IsPaused" Campaign where
type PropertyType "IsPaused" Campaign = Value Prelude.Bool
set :: PropertyType "IsPaused" Campaign -> Campaign -> Campaign
set PropertyType "IsPaused" Campaign
newValue Campaign {Maybe [WriteTreatmentResourceProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe CustomDeliveryConfigurationProperty
Maybe LimitsProperty
Maybe MessageConfigurationProperty
Maybe TemplateConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: Campaign -> ()
additionalTreatments :: Campaign -> Maybe [WriteTreatmentResourceProperty]
applicationId :: Campaign -> Value Text
campaignHook :: Campaign -> Maybe CampaignHookProperty
customDeliveryConfiguration :: Campaign -> Maybe CustomDeliveryConfigurationProperty
description :: Campaign -> Maybe (Value Text)
holdoutPercent :: Campaign -> Maybe (Value Integer)
isPaused :: Campaign -> Maybe (Value Bool)
limits :: Campaign -> Maybe LimitsProperty
messageConfiguration :: Campaign -> Maybe MessageConfigurationProperty
name :: Campaign -> Value Text
priority :: Campaign -> Maybe (Value Integer)
schedule :: Campaign -> ScheduleProperty
segmentId :: Campaign -> Value Text
segmentVersion :: Campaign -> Maybe (Value Integer)
tags :: Campaign -> Maybe Object
templateConfiguration :: Campaign -> Maybe TemplateConfigurationProperty
treatmentDescription :: Campaign -> Maybe (Value Text)
treatmentName :: Campaign -> Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
..}
= Campaign {isPaused :: Maybe (Value Bool)
isPaused = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "IsPaused" Campaign
Value Bool
newValue, Maybe [WriteTreatmentResourceProperty]
Maybe Object
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe CustomDeliveryConfigurationProperty
Maybe LimitsProperty
Maybe MessageConfigurationProperty
Maybe TemplateConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
..}
instance Property "Limits" Campaign where
type PropertyType "Limits" Campaign = LimitsProperty
set :: PropertyType "Limits" Campaign -> Campaign -> Campaign
set PropertyType "Limits" Campaign
newValue Campaign {Maybe [WriteTreatmentResourceProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe CustomDeliveryConfigurationProperty
Maybe LimitsProperty
Maybe MessageConfigurationProperty
Maybe TemplateConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: Campaign -> ()
additionalTreatments :: Campaign -> Maybe [WriteTreatmentResourceProperty]
applicationId :: Campaign -> Value Text
campaignHook :: Campaign -> Maybe CampaignHookProperty
customDeliveryConfiguration :: Campaign -> Maybe CustomDeliveryConfigurationProperty
description :: Campaign -> Maybe (Value Text)
holdoutPercent :: Campaign -> Maybe (Value Integer)
isPaused :: Campaign -> Maybe (Value Bool)
limits :: Campaign -> Maybe LimitsProperty
messageConfiguration :: Campaign -> Maybe MessageConfigurationProperty
name :: Campaign -> Value Text
priority :: Campaign -> Maybe (Value Integer)
schedule :: Campaign -> ScheduleProperty
segmentId :: Campaign -> Value Text
segmentVersion :: Campaign -> Maybe (Value Integer)
tags :: Campaign -> Maybe Object
templateConfiguration :: Campaign -> Maybe TemplateConfigurationProperty
treatmentDescription :: Campaign -> Maybe (Value Text)
treatmentName :: Campaign -> Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
..}
= Campaign {limits :: Maybe LimitsProperty
limits = LimitsProperty -> Maybe LimitsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Limits" Campaign
LimitsProperty
newValue, Maybe [WriteTreatmentResourceProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe CustomDeliveryConfigurationProperty
Maybe MessageConfigurationProperty
Maybe TemplateConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
..}
instance Property "MessageConfiguration" Campaign where
type PropertyType "MessageConfiguration" Campaign = MessageConfigurationProperty
set :: PropertyType "MessageConfiguration" Campaign
-> Campaign -> Campaign
set PropertyType "MessageConfiguration" Campaign
newValue Campaign {Maybe [WriteTreatmentResourceProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe CustomDeliveryConfigurationProperty
Maybe LimitsProperty
Maybe MessageConfigurationProperty
Maybe TemplateConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: Campaign -> ()
additionalTreatments :: Campaign -> Maybe [WriteTreatmentResourceProperty]
applicationId :: Campaign -> Value Text
campaignHook :: Campaign -> Maybe CampaignHookProperty
customDeliveryConfiguration :: Campaign -> Maybe CustomDeliveryConfigurationProperty
description :: Campaign -> Maybe (Value Text)
holdoutPercent :: Campaign -> Maybe (Value Integer)
isPaused :: Campaign -> Maybe (Value Bool)
limits :: Campaign -> Maybe LimitsProperty
messageConfiguration :: Campaign -> Maybe MessageConfigurationProperty
name :: Campaign -> Value Text
priority :: Campaign -> Maybe (Value Integer)
schedule :: Campaign -> ScheduleProperty
segmentId :: Campaign -> Value Text
segmentVersion :: Campaign -> Maybe (Value Integer)
tags :: Campaign -> Maybe Object
templateConfiguration :: Campaign -> Maybe TemplateConfigurationProperty
treatmentDescription :: Campaign -> Maybe (Value Text)
treatmentName :: Campaign -> Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
..}
= Campaign {messageConfiguration :: Maybe MessageConfigurationProperty
messageConfiguration = MessageConfigurationProperty -> Maybe MessageConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "MessageConfiguration" Campaign
MessageConfigurationProperty
newValue, Maybe [WriteTreatmentResourceProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe CustomDeliveryConfigurationProperty
Maybe LimitsProperty
Maybe TemplateConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
..}
instance Property "Name" Campaign where
type PropertyType "Name" Campaign = Value Prelude.Text
set :: PropertyType "Name" Campaign -> Campaign -> Campaign
set PropertyType "Name" Campaign
newValue Campaign {Maybe [WriteTreatmentResourceProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe CustomDeliveryConfigurationProperty
Maybe LimitsProperty
Maybe MessageConfigurationProperty
Maybe TemplateConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: Campaign -> ()
additionalTreatments :: Campaign -> Maybe [WriteTreatmentResourceProperty]
applicationId :: Campaign -> Value Text
campaignHook :: Campaign -> Maybe CampaignHookProperty
customDeliveryConfiguration :: Campaign -> Maybe CustomDeliveryConfigurationProperty
description :: Campaign -> Maybe (Value Text)
holdoutPercent :: Campaign -> Maybe (Value Integer)
isPaused :: Campaign -> Maybe (Value Bool)
limits :: Campaign -> Maybe LimitsProperty
messageConfiguration :: Campaign -> Maybe MessageConfigurationProperty
name :: Campaign -> Value Text
priority :: Campaign -> Maybe (Value Integer)
schedule :: Campaign -> ScheduleProperty
segmentId :: Campaign -> Value Text
segmentVersion :: Campaign -> Maybe (Value Integer)
tags :: Campaign -> Maybe Object
templateConfiguration :: Campaign -> Maybe TemplateConfigurationProperty
treatmentDescription :: Campaign -> Maybe (Value Text)
treatmentName :: Campaign -> Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
..} = Campaign {name :: Value Text
name = PropertyType "Name" Campaign
Value Text
newValue, Maybe [WriteTreatmentResourceProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe CustomDeliveryConfigurationProperty
Maybe LimitsProperty
Maybe MessageConfigurationProperty
Maybe TemplateConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
..}
instance Property "Priority" Campaign where
type PropertyType "Priority" Campaign = Value Prelude.Integer
set :: PropertyType "Priority" Campaign -> Campaign -> Campaign
set PropertyType "Priority" Campaign
newValue Campaign {Maybe [WriteTreatmentResourceProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe CustomDeliveryConfigurationProperty
Maybe LimitsProperty
Maybe MessageConfigurationProperty
Maybe TemplateConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: Campaign -> ()
additionalTreatments :: Campaign -> Maybe [WriteTreatmentResourceProperty]
applicationId :: Campaign -> Value Text
campaignHook :: Campaign -> Maybe CampaignHookProperty
customDeliveryConfiguration :: Campaign -> Maybe CustomDeliveryConfigurationProperty
description :: Campaign -> Maybe (Value Text)
holdoutPercent :: Campaign -> Maybe (Value Integer)
isPaused :: Campaign -> Maybe (Value Bool)
limits :: Campaign -> Maybe LimitsProperty
messageConfiguration :: Campaign -> Maybe MessageConfigurationProperty
name :: Campaign -> Value Text
priority :: Campaign -> Maybe (Value Integer)
schedule :: Campaign -> ScheduleProperty
segmentId :: Campaign -> Value Text
segmentVersion :: Campaign -> Maybe (Value Integer)
tags :: Campaign -> Maybe Object
templateConfiguration :: Campaign -> Maybe TemplateConfigurationProperty
treatmentDescription :: Campaign -> Maybe (Value Text)
treatmentName :: Campaign -> Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
..}
= Campaign {priority :: Maybe (Value Integer)
priority = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Priority" Campaign
Value Integer
newValue, Maybe [WriteTreatmentResourceProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe CustomDeliveryConfigurationProperty
Maybe LimitsProperty
Maybe MessageConfigurationProperty
Maybe TemplateConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
..}
instance Property "Schedule" Campaign where
type PropertyType "Schedule" Campaign = ScheduleProperty
set :: PropertyType "Schedule" Campaign -> Campaign -> Campaign
set PropertyType "Schedule" Campaign
newValue Campaign {Maybe [WriteTreatmentResourceProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe CustomDeliveryConfigurationProperty
Maybe LimitsProperty
Maybe MessageConfigurationProperty
Maybe TemplateConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: Campaign -> ()
additionalTreatments :: Campaign -> Maybe [WriteTreatmentResourceProperty]
applicationId :: Campaign -> Value Text
campaignHook :: Campaign -> Maybe CampaignHookProperty
customDeliveryConfiguration :: Campaign -> Maybe CustomDeliveryConfigurationProperty
description :: Campaign -> Maybe (Value Text)
holdoutPercent :: Campaign -> Maybe (Value Integer)
isPaused :: Campaign -> Maybe (Value Bool)
limits :: Campaign -> Maybe LimitsProperty
messageConfiguration :: Campaign -> Maybe MessageConfigurationProperty
name :: Campaign -> Value Text
priority :: Campaign -> Maybe (Value Integer)
schedule :: Campaign -> ScheduleProperty
segmentId :: Campaign -> Value Text
segmentVersion :: Campaign -> Maybe (Value Integer)
tags :: Campaign -> Maybe Object
templateConfiguration :: Campaign -> Maybe TemplateConfigurationProperty
treatmentDescription :: Campaign -> Maybe (Value Text)
treatmentName :: Campaign -> Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
..} = Campaign {schedule :: ScheduleProperty
schedule = PropertyType "Schedule" Campaign
ScheduleProperty
newValue, Maybe [WriteTreatmentResourceProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe CustomDeliveryConfigurationProperty
Maybe LimitsProperty
Maybe MessageConfigurationProperty
Maybe TemplateConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
..}
instance Property "SegmentId" Campaign where
type PropertyType "SegmentId" Campaign = Value Prelude.Text
set :: PropertyType "SegmentId" Campaign -> Campaign -> Campaign
set PropertyType "SegmentId" Campaign
newValue Campaign {Maybe [WriteTreatmentResourceProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe CustomDeliveryConfigurationProperty
Maybe LimitsProperty
Maybe MessageConfigurationProperty
Maybe TemplateConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: Campaign -> ()
additionalTreatments :: Campaign -> Maybe [WriteTreatmentResourceProperty]
applicationId :: Campaign -> Value Text
campaignHook :: Campaign -> Maybe CampaignHookProperty
customDeliveryConfiguration :: Campaign -> Maybe CustomDeliveryConfigurationProperty
description :: Campaign -> Maybe (Value Text)
holdoutPercent :: Campaign -> Maybe (Value Integer)
isPaused :: Campaign -> Maybe (Value Bool)
limits :: Campaign -> Maybe LimitsProperty
messageConfiguration :: Campaign -> Maybe MessageConfigurationProperty
name :: Campaign -> Value Text
priority :: Campaign -> Maybe (Value Integer)
schedule :: Campaign -> ScheduleProperty
segmentId :: Campaign -> Value Text
segmentVersion :: Campaign -> Maybe (Value Integer)
tags :: Campaign -> Maybe Object
templateConfiguration :: Campaign -> Maybe TemplateConfigurationProperty
treatmentDescription :: Campaign -> Maybe (Value Text)
treatmentName :: Campaign -> Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
..} = Campaign {segmentId :: Value Text
segmentId = PropertyType "SegmentId" Campaign
Value Text
newValue, Maybe [WriteTreatmentResourceProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe CustomDeliveryConfigurationProperty
Maybe LimitsProperty
Maybe MessageConfigurationProperty
Maybe TemplateConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
..}
instance Property "SegmentVersion" Campaign where
type PropertyType "SegmentVersion" Campaign = Value Prelude.Integer
set :: PropertyType "SegmentVersion" Campaign -> Campaign -> Campaign
set PropertyType "SegmentVersion" Campaign
newValue Campaign {Maybe [WriteTreatmentResourceProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe CustomDeliveryConfigurationProperty
Maybe LimitsProperty
Maybe MessageConfigurationProperty
Maybe TemplateConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: Campaign -> ()
additionalTreatments :: Campaign -> Maybe [WriteTreatmentResourceProperty]
applicationId :: Campaign -> Value Text
campaignHook :: Campaign -> Maybe CampaignHookProperty
customDeliveryConfiguration :: Campaign -> Maybe CustomDeliveryConfigurationProperty
description :: Campaign -> Maybe (Value Text)
holdoutPercent :: Campaign -> Maybe (Value Integer)
isPaused :: Campaign -> Maybe (Value Bool)
limits :: Campaign -> Maybe LimitsProperty
messageConfiguration :: Campaign -> Maybe MessageConfigurationProperty
name :: Campaign -> Value Text
priority :: Campaign -> Maybe (Value Integer)
schedule :: Campaign -> ScheduleProperty
segmentId :: Campaign -> Value Text
segmentVersion :: Campaign -> Maybe (Value Integer)
tags :: Campaign -> Maybe Object
templateConfiguration :: Campaign -> Maybe TemplateConfigurationProperty
treatmentDescription :: Campaign -> Maybe (Value Text)
treatmentName :: Campaign -> Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
..}
= Campaign {segmentVersion :: Maybe (Value Integer)
segmentVersion = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SegmentVersion" Campaign
Value Integer
newValue, Maybe [WriteTreatmentResourceProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe CustomDeliveryConfigurationProperty
Maybe LimitsProperty
Maybe MessageConfigurationProperty
Maybe TemplateConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
..}
instance Property "Tags" Campaign where
type PropertyType "Tags" Campaign = JSON.Object
set :: PropertyType "Tags" Campaign -> Campaign -> Campaign
set PropertyType "Tags" Campaign
newValue Campaign {Maybe [WriteTreatmentResourceProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe CustomDeliveryConfigurationProperty
Maybe LimitsProperty
Maybe MessageConfigurationProperty
Maybe TemplateConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: Campaign -> ()
additionalTreatments :: Campaign -> Maybe [WriteTreatmentResourceProperty]
applicationId :: Campaign -> Value Text
campaignHook :: Campaign -> Maybe CampaignHookProperty
customDeliveryConfiguration :: Campaign -> Maybe CustomDeliveryConfigurationProperty
description :: Campaign -> Maybe (Value Text)
holdoutPercent :: Campaign -> Maybe (Value Integer)
isPaused :: Campaign -> Maybe (Value Bool)
limits :: Campaign -> Maybe LimitsProperty
messageConfiguration :: Campaign -> Maybe MessageConfigurationProperty
name :: Campaign -> Value Text
priority :: Campaign -> Maybe (Value Integer)
schedule :: Campaign -> ScheduleProperty
segmentId :: Campaign -> Value Text
segmentVersion :: Campaign -> Maybe (Value Integer)
tags :: Campaign -> Maybe Object
templateConfiguration :: Campaign -> Maybe TemplateConfigurationProperty
treatmentDescription :: Campaign -> Maybe (Value Text)
treatmentName :: Campaign -> Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
..}
= Campaign {tags :: Maybe Object
tags = Object -> Maybe Object
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure Object
PropertyType "Tags" Campaign
newValue, Maybe [WriteTreatmentResourceProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe CustomDeliveryConfigurationProperty
Maybe LimitsProperty
Maybe MessageConfigurationProperty
Maybe TemplateConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
..}
instance Property "TemplateConfiguration" Campaign where
type PropertyType "TemplateConfiguration" Campaign = TemplateConfigurationProperty
set :: PropertyType "TemplateConfiguration" Campaign
-> Campaign -> Campaign
set PropertyType "TemplateConfiguration" Campaign
newValue Campaign {Maybe [WriteTreatmentResourceProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe CustomDeliveryConfigurationProperty
Maybe LimitsProperty
Maybe MessageConfigurationProperty
Maybe TemplateConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: Campaign -> ()
additionalTreatments :: Campaign -> Maybe [WriteTreatmentResourceProperty]
applicationId :: Campaign -> Value Text
campaignHook :: Campaign -> Maybe CampaignHookProperty
customDeliveryConfiguration :: Campaign -> Maybe CustomDeliveryConfigurationProperty
description :: Campaign -> Maybe (Value Text)
holdoutPercent :: Campaign -> Maybe (Value Integer)
isPaused :: Campaign -> Maybe (Value Bool)
limits :: Campaign -> Maybe LimitsProperty
messageConfiguration :: Campaign -> Maybe MessageConfigurationProperty
name :: Campaign -> Value Text
priority :: Campaign -> Maybe (Value Integer)
schedule :: Campaign -> ScheduleProperty
segmentId :: Campaign -> Value Text
segmentVersion :: Campaign -> Maybe (Value Integer)
tags :: Campaign -> Maybe Object
templateConfiguration :: Campaign -> Maybe TemplateConfigurationProperty
treatmentDescription :: Campaign -> Maybe (Value Text)
treatmentName :: Campaign -> Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
..}
= Campaign {templateConfiguration :: Maybe TemplateConfigurationProperty
templateConfiguration = TemplateConfigurationProperty
-> Maybe TemplateConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "TemplateConfiguration" Campaign
TemplateConfigurationProperty
newValue, Maybe [WriteTreatmentResourceProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe CustomDeliveryConfigurationProperty
Maybe LimitsProperty
Maybe MessageConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
..}
instance Property "TreatmentDescription" Campaign where
type PropertyType "TreatmentDescription" Campaign = Value Prelude.Text
set :: PropertyType "TreatmentDescription" Campaign
-> Campaign -> Campaign
set PropertyType "TreatmentDescription" Campaign
newValue Campaign {Maybe [WriteTreatmentResourceProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe CustomDeliveryConfigurationProperty
Maybe LimitsProperty
Maybe MessageConfigurationProperty
Maybe TemplateConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: Campaign -> ()
additionalTreatments :: Campaign -> Maybe [WriteTreatmentResourceProperty]
applicationId :: Campaign -> Value Text
campaignHook :: Campaign -> Maybe CampaignHookProperty
customDeliveryConfiguration :: Campaign -> Maybe CustomDeliveryConfigurationProperty
description :: Campaign -> Maybe (Value Text)
holdoutPercent :: Campaign -> Maybe (Value Integer)
isPaused :: Campaign -> Maybe (Value Bool)
limits :: Campaign -> Maybe LimitsProperty
messageConfiguration :: Campaign -> Maybe MessageConfigurationProperty
name :: Campaign -> Value Text
priority :: Campaign -> Maybe (Value Integer)
schedule :: Campaign -> ScheduleProperty
segmentId :: Campaign -> Value Text
segmentVersion :: Campaign -> Maybe (Value Integer)
tags :: Campaign -> Maybe Object
templateConfiguration :: Campaign -> Maybe TemplateConfigurationProperty
treatmentDescription :: Campaign -> Maybe (Value Text)
treatmentName :: Campaign -> Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
..}
= Campaign {treatmentDescription :: Maybe (Value Text)
treatmentDescription = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "TreatmentDescription" Campaign
Value Text
newValue, Maybe [WriteTreatmentResourceProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe CustomDeliveryConfigurationProperty
Maybe LimitsProperty
Maybe MessageConfigurationProperty
Maybe TemplateConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentName :: Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentName :: Maybe (Value Text)
..}
instance Property "TreatmentName" Campaign where
type PropertyType "TreatmentName" Campaign = Value Prelude.Text
set :: PropertyType "TreatmentName" Campaign -> Campaign -> Campaign
set PropertyType "TreatmentName" Campaign
newValue Campaign {Maybe [WriteTreatmentResourceProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe CustomDeliveryConfigurationProperty
Maybe LimitsProperty
Maybe MessageConfigurationProperty
Maybe TemplateConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: Campaign -> ()
additionalTreatments :: Campaign -> Maybe [WriteTreatmentResourceProperty]
applicationId :: Campaign -> Value Text
campaignHook :: Campaign -> Maybe CampaignHookProperty
customDeliveryConfiguration :: Campaign -> Maybe CustomDeliveryConfigurationProperty
description :: Campaign -> Maybe (Value Text)
holdoutPercent :: Campaign -> Maybe (Value Integer)
isPaused :: Campaign -> Maybe (Value Bool)
limits :: Campaign -> Maybe LimitsProperty
messageConfiguration :: Campaign -> Maybe MessageConfigurationProperty
name :: Campaign -> Value Text
priority :: Campaign -> Maybe (Value Integer)
schedule :: Campaign -> ScheduleProperty
segmentId :: Campaign -> Value Text
segmentVersion :: Campaign -> Maybe (Value Integer)
tags :: Campaign -> Maybe Object
templateConfiguration :: Campaign -> Maybe TemplateConfigurationProperty
treatmentDescription :: Campaign -> Maybe (Value Text)
treatmentName :: Campaign -> Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
treatmentName :: Maybe (Value Text)
..}
= Campaign {treatmentName :: Maybe (Value Text)
treatmentName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "TreatmentName" Campaign
Value Text
newValue, Maybe [WriteTreatmentResourceProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe CampaignHookProperty
Maybe CustomDeliveryConfigurationProperty
Maybe LimitsProperty
Maybe MessageConfigurationProperty
Maybe TemplateConfigurationProperty
()
Value Text
ScheduleProperty
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
haddock_workaround_ :: ()
additionalTreatments :: Maybe [WriteTreatmentResourceProperty]
applicationId :: Value Text
campaignHook :: Maybe CampaignHookProperty
customDeliveryConfiguration :: Maybe CustomDeliveryConfigurationProperty
description :: Maybe (Value Text)
holdoutPercent :: Maybe (Value Integer)
isPaused :: Maybe (Value Bool)
limits :: Maybe LimitsProperty
messageConfiguration :: Maybe MessageConfigurationProperty
name :: Value Text
priority :: Maybe (Value Integer)
schedule :: ScheduleProperty
segmentId :: Value Text
segmentVersion :: Maybe (Value Integer)
tags :: Maybe Object
templateConfiguration :: Maybe TemplateConfigurationProperty
treatmentDescription :: Maybe (Value Text)
..}