module Stratosphere.DataBrew.Ruleset.RuleProperty (
        module Exports, RuleProperty(..), mkRuleProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.DataBrew.Ruleset.ColumnSelectorProperty as Exports
import {-# SOURCE #-} Stratosphere.DataBrew.Ruleset.SubstitutionValueProperty as Exports
import {-# SOURCE #-} Stratosphere.DataBrew.Ruleset.ThresholdProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data RuleProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-ruleset-rule.html>
    RuleProperty {RuleProperty -> ()
haddock_workaround_ :: (),
                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-ruleset-rule.html#cfn-databrew-ruleset-rule-checkexpression>
                  RuleProperty -> Value Text
checkExpression :: (Value Prelude.Text),
                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-ruleset-rule.html#cfn-databrew-ruleset-rule-columnselectors>
                  RuleProperty -> Maybe [ColumnSelectorProperty]
columnSelectors :: (Prelude.Maybe [ColumnSelectorProperty]),
                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-ruleset-rule.html#cfn-databrew-ruleset-rule-disabled>
                  RuleProperty -> Maybe (Value Bool)
disabled :: (Prelude.Maybe (Value Prelude.Bool)),
                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-ruleset-rule.html#cfn-databrew-ruleset-rule-name>
                  RuleProperty -> Value Text
name :: (Value Prelude.Text),
                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-ruleset-rule.html#cfn-databrew-ruleset-rule-substitutionmap>
                  RuleProperty -> Maybe [SubstitutionValueProperty]
substitutionMap :: (Prelude.Maybe [SubstitutionValueProperty]),
                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-ruleset-rule.html#cfn-databrew-ruleset-rule-threshold>
                  RuleProperty -> Maybe ThresholdProperty
threshold :: (Prelude.Maybe ThresholdProperty)}
  deriving stock (RuleProperty -> RuleProperty -> Bool
(RuleProperty -> RuleProperty -> Bool)
-> (RuleProperty -> RuleProperty -> Bool) -> Eq RuleProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: RuleProperty -> RuleProperty -> Bool
== :: RuleProperty -> RuleProperty -> Bool
$c/= :: RuleProperty -> RuleProperty -> Bool
/= :: RuleProperty -> RuleProperty -> Bool
Prelude.Eq, Int -> RuleProperty -> ShowS
[RuleProperty] -> ShowS
RuleProperty -> String
(Int -> RuleProperty -> ShowS)
-> (RuleProperty -> String)
-> ([RuleProperty] -> ShowS)
-> Show RuleProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> RuleProperty -> ShowS
showsPrec :: Int -> RuleProperty -> ShowS
$cshow :: RuleProperty -> String
show :: RuleProperty -> String
$cshowList :: [RuleProperty] -> ShowS
showList :: [RuleProperty] -> ShowS
Prelude.Show)
mkRuleProperty ::
  Value Prelude.Text -> Value Prelude.Text -> RuleProperty
mkRuleProperty :: Value Text -> Value Text -> RuleProperty
mkRuleProperty Value Text
checkExpression Value Text
name
  = RuleProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), checkExpression :: Value Text
checkExpression = Value Text
checkExpression,
       name :: Value Text
name = Value Text
name, columnSelectors :: Maybe [ColumnSelectorProperty]
columnSelectors = Maybe [ColumnSelectorProperty]
forall a. Maybe a
Prelude.Nothing,
       disabled :: Maybe (Value Bool)
disabled = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing, substitutionMap :: Maybe [SubstitutionValueProperty]
substitutionMap = Maybe [SubstitutionValueProperty]
forall a. Maybe a
Prelude.Nothing,
       threshold :: Maybe ThresholdProperty
threshold = Maybe ThresholdProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties RuleProperty where
  toResourceProperties :: RuleProperty -> ResourceProperties
toResourceProperties RuleProperty {Maybe [ColumnSelectorProperty]
Maybe [SubstitutionValueProperty]
Maybe (Value Bool)
Maybe ThresholdProperty
()
Value Text
haddock_workaround_ :: RuleProperty -> ()
checkExpression :: RuleProperty -> Value Text
columnSelectors :: RuleProperty -> Maybe [ColumnSelectorProperty]
disabled :: RuleProperty -> Maybe (Value Bool)
name :: RuleProperty -> Value Text
substitutionMap :: RuleProperty -> Maybe [SubstitutionValueProperty]
threshold :: RuleProperty -> Maybe ThresholdProperty
haddock_workaround_ :: ()
checkExpression :: Value Text
columnSelectors :: Maybe [ColumnSelectorProperty]
disabled :: Maybe (Value Bool)
name :: Value Text
substitutionMap :: Maybe [SubstitutionValueProperty]
threshold :: Maybe ThresholdProperty
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::DataBrew::Ruleset.Rule",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         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
"CheckExpression" 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
checkExpression, 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]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> [ColumnSelectorProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ColumnSelectors" ([ColumnSelectorProperty] -> (Key, Value))
-> Maybe [ColumnSelectorProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [ColumnSelectorProperty]
columnSelectors,
                               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
"Disabled" (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)
disabled,
                               Key -> [SubstitutionValueProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SubstitutionMap" ([SubstitutionValueProperty] -> (Key, Value))
-> Maybe [SubstitutionValueProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [SubstitutionValueProperty]
substitutionMap,
                               Key -> ThresholdProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Threshold" (ThresholdProperty -> (Key, Value))
-> Maybe ThresholdProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ThresholdProperty
threshold]))}
instance JSON.ToJSON RuleProperty where
  toJSON :: RuleProperty -> Value
toJSON RuleProperty {Maybe [ColumnSelectorProperty]
Maybe [SubstitutionValueProperty]
Maybe (Value Bool)
Maybe ThresholdProperty
()
Value Text
haddock_workaround_ :: RuleProperty -> ()
checkExpression :: RuleProperty -> Value Text
columnSelectors :: RuleProperty -> Maybe [ColumnSelectorProperty]
disabled :: RuleProperty -> Maybe (Value Bool)
name :: RuleProperty -> Value Text
substitutionMap :: RuleProperty -> Maybe [SubstitutionValueProperty]
threshold :: RuleProperty -> Maybe ThresholdProperty
haddock_workaround_ :: ()
checkExpression :: Value Text
columnSelectors :: Maybe [ColumnSelectorProperty]
disabled :: Maybe (Value Bool)
name :: Value Text
substitutionMap :: Maybe [SubstitutionValueProperty]
threshold :: Maybe ThresholdProperty
..}
    = [(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
"CheckExpression" 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
checkExpression, 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]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> [ColumnSelectorProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ColumnSelectors" ([ColumnSelectorProperty] -> (Key, Value))
-> Maybe [ColumnSelectorProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [ColumnSelectorProperty]
columnSelectors,
                  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
"Disabled" (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)
disabled,
                  Key -> [SubstitutionValueProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SubstitutionMap" ([SubstitutionValueProperty] -> (Key, Value))
-> Maybe [SubstitutionValueProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [SubstitutionValueProperty]
substitutionMap,
                  Key -> ThresholdProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Threshold" (ThresholdProperty -> (Key, Value))
-> Maybe ThresholdProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ThresholdProperty
threshold])))
instance Property "CheckExpression" RuleProperty where
  type PropertyType "CheckExpression" RuleProperty = Value Prelude.Text
  set :: PropertyType "CheckExpression" RuleProperty
-> RuleProperty -> RuleProperty
set PropertyType "CheckExpression" RuleProperty
newValue RuleProperty {Maybe [ColumnSelectorProperty]
Maybe [SubstitutionValueProperty]
Maybe (Value Bool)
Maybe ThresholdProperty
()
Value Text
haddock_workaround_ :: RuleProperty -> ()
checkExpression :: RuleProperty -> Value Text
columnSelectors :: RuleProperty -> Maybe [ColumnSelectorProperty]
disabled :: RuleProperty -> Maybe (Value Bool)
name :: RuleProperty -> Value Text
substitutionMap :: RuleProperty -> Maybe [SubstitutionValueProperty]
threshold :: RuleProperty -> Maybe ThresholdProperty
haddock_workaround_ :: ()
checkExpression :: Value Text
columnSelectors :: Maybe [ColumnSelectorProperty]
disabled :: Maybe (Value Bool)
name :: Value Text
substitutionMap :: Maybe [SubstitutionValueProperty]
threshold :: Maybe ThresholdProperty
..}
    = RuleProperty {checkExpression :: Value Text
checkExpression = PropertyType "CheckExpression" RuleProperty
Value Text
newValue, Maybe [ColumnSelectorProperty]
Maybe [SubstitutionValueProperty]
Maybe (Value Bool)
Maybe ThresholdProperty
()
Value Text
haddock_workaround_ :: ()
columnSelectors :: Maybe [ColumnSelectorProperty]
disabled :: Maybe (Value Bool)
name :: Value Text
substitutionMap :: Maybe [SubstitutionValueProperty]
threshold :: Maybe ThresholdProperty
haddock_workaround_ :: ()
columnSelectors :: Maybe [ColumnSelectorProperty]
disabled :: Maybe (Value Bool)
name :: Value Text
substitutionMap :: Maybe [SubstitutionValueProperty]
threshold :: Maybe ThresholdProperty
..}
instance Property "ColumnSelectors" RuleProperty where
  type PropertyType "ColumnSelectors" RuleProperty = [ColumnSelectorProperty]
  set :: PropertyType "ColumnSelectors" RuleProperty
-> RuleProperty -> RuleProperty
set PropertyType "ColumnSelectors" RuleProperty
newValue RuleProperty {Maybe [ColumnSelectorProperty]
Maybe [SubstitutionValueProperty]
Maybe (Value Bool)
Maybe ThresholdProperty
()
Value Text
haddock_workaround_ :: RuleProperty -> ()
checkExpression :: RuleProperty -> Value Text
columnSelectors :: RuleProperty -> Maybe [ColumnSelectorProperty]
disabled :: RuleProperty -> Maybe (Value Bool)
name :: RuleProperty -> Value Text
substitutionMap :: RuleProperty -> Maybe [SubstitutionValueProperty]
threshold :: RuleProperty -> Maybe ThresholdProperty
haddock_workaround_ :: ()
checkExpression :: Value Text
columnSelectors :: Maybe [ColumnSelectorProperty]
disabled :: Maybe (Value Bool)
name :: Value Text
substitutionMap :: Maybe [SubstitutionValueProperty]
threshold :: Maybe ThresholdProperty
..}
    = RuleProperty {columnSelectors :: Maybe [ColumnSelectorProperty]
columnSelectors = [ColumnSelectorProperty] -> Maybe [ColumnSelectorProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [ColumnSelectorProperty]
PropertyType "ColumnSelectors" RuleProperty
newValue, Maybe [SubstitutionValueProperty]
Maybe (Value Bool)
Maybe ThresholdProperty
()
Value Text
haddock_workaround_ :: ()
checkExpression :: Value Text
disabled :: Maybe (Value Bool)
name :: Value Text
substitutionMap :: Maybe [SubstitutionValueProperty]
threshold :: Maybe ThresholdProperty
haddock_workaround_ :: ()
checkExpression :: Value Text
disabled :: Maybe (Value Bool)
name :: Value Text
substitutionMap :: Maybe [SubstitutionValueProperty]
threshold :: Maybe ThresholdProperty
..}
instance Property "Disabled" RuleProperty where
  type PropertyType "Disabled" RuleProperty = Value Prelude.Bool
  set :: PropertyType "Disabled" RuleProperty
-> RuleProperty -> RuleProperty
set PropertyType "Disabled" RuleProperty
newValue RuleProperty {Maybe [ColumnSelectorProperty]
Maybe [SubstitutionValueProperty]
Maybe (Value Bool)
Maybe ThresholdProperty
()
Value Text
haddock_workaround_ :: RuleProperty -> ()
checkExpression :: RuleProperty -> Value Text
columnSelectors :: RuleProperty -> Maybe [ColumnSelectorProperty]
disabled :: RuleProperty -> Maybe (Value Bool)
name :: RuleProperty -> Value Text
substitutionMap :: RuleProperty -> Maybe [SubstitutionValueProperty]
threshold :: RuleProperty -> Maybe ThresholdProperty
haddock_workaround_ :: ()
checkExpression :: Value Text
columnSelectors :: Maybe [ColumnSelectorProperty]
disabled :: Maybe (Value Bool)
name :: Value Text
substitutionMap :: Maybe [SubstitutionValueProperty]
threshold :: Maybe ThresholdProperty
..}
    = RuleProperty {disabled :: Maybe (Value Bool)
disabled = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Disabled" RuleProperty
Value Bool
newValue, Maybe [ColumnSelectorProperty]
Maybe [SubstitutionValueProperty]
Maybe ThresholdProperty
()
Value Text
haddock_workaround_ :: ()
checkExpression :: Value Text
columnSelectors :: Maybe [ColumnSelectorProperty]
name :: Value Text
substitutionMap :: Maybe [SubstitutionValueProperty]
threshold :: Maybe ThresholdProperty
haddock_workaround_ :: ()
checkExpression :: Value Text
columnSelectors :: Maybe [ColumnSelectorProperty]
name :: Value Text
substitutionMap :: Maybe [SubstitutionValueProperty]
threshold :: Maybe ThresholdProperty
..}
instance Property "Name" RuleProperty where
  type PropertyType "Name" RuleProperty = Value Prelude.Text
  set :: PropertyType "Name" RuleProperty -> RuleProperty -> RuleProperty
set PropertyType "Name" RuleProperty
newValue RuleProperty {Maybe [ColumnSelectorProperty]
Maybe [SubstitutionValueProperty]
Maybe (Value Bool)
Maybe ThresholdProperty
()
Value Text
haddock_workaround_ :: RuleProperty -> ()
checkExpression :: RuleProperty -> Value Text
columnSelectors :: RuleProperty -> Maybe [ColumnSelectorProperty]
disabled :: RuleProperty -> Maybe (Value Bool)
name :: RuleProperty -> Value Text
substitutionMap :: RuleProperty -> Maybe [SubstitutionValueProperty]
threshold :: RuleProperty -> Maybe ThresholdProperty
haddock_workaround_ :: ()
checkExpression :: Value Text
columnSelectors :: Maybe [ColumnSelectorProperty]
disabled :: Maybe (Value Bool)
name :: Value Text
substitutionMap :: Maybe [SubstitutionValueProperty]
threshold :: Maybe ThresholdProperty
..} = RuleProperty {name :: Value Text
name = PropertyType "Name" RuleProperty
Value Text
newValue, Maybe [ColumnSelectorProperty]
Maybe [SubstitutionValueProperty]
Maybe (Value Bool)
Maybe ThresholdProperty
()
Value Text
haddock_workaround_ :: ()
checkExpression :: Value Text
columnSelectors :: Maybe [ColumnSelectorProperty]
disabled :: Maybe (Value Bool)
substitutionMap :: Maybe [SubstitutionValueProperty]
threshold :: Maybe ThresholdProperty
haddock_workaround_ :: ()
checkExpression :: Value Text
columnSelectors :: Maybe [ColumnSelectorProperty]
disabled :: Maybe (Value Bool)
substitutionMap :: Maybe [SubstitutionValueProperty]
threshold :: Maybe ThresholdProperty
..}
instance Property "SubstitutionMap" RuleProperty where
  type PropertyType "SubstitutionMap" RuleProperty = [SubstitutionValueProperty]
  set :: PropertyType "SubstitutionMap" RuleProperty
-> RuleProperty -> RuleProperty
set PropertyType "SubstitutionMap" RuleProperty
newValue RuleProperty {Maybe [ColumnSelectorProperty]
Maybe [SubstitutionValueProperty]
Maybe (Value Bool)
Maybe ThresholdProperty
()
Value Text
haddock_workaround_ :: RuleProperty -> ()
checkExpression :: RuleProperty -> Value Text
columnSelectors :: RuleProperty -> Maybe [ColumnSelectorProperty]
disabled :: RuleProperty -> Maybe (Value Bool)
name :: RuleProperty -> Value Text
substitutionMap :: RuleProperty -> Maybe [SubstitutionValueProperty]
threshold :: RuleProperty -> Maybe ThresholdProperty
haddock_workaround_ :: ()
checkExpression :: Value Text
columnSelectors :: Maybe [ColumnSelectorProperty]
disabled :: Maybe (Value Bool)
name :: Value Text
substitutionMap :: Maybe [SubstitutionValueProperty]
threshold :: Maybe ThresholdProperty
..}
    = RuleProperty {substitutionMap :: Maybe [SubstitutionValueProperty]
substitutionMap = [SubstitutionValueProperty] -> Maybe [SubstitutionValueProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [SubstitutionValueProperty]
PropertyType "SubstitutionMap" RuleProperty
newValue, Maybe [ColumnSelectorProperty]
Maybe (Value Bool)
Maybe ThresholdProperty
()
Value Text
haddock_workaround_ :: ()
checkExpression :: Value Text
columnSelectors :: Maybe [ColumnSelectorProperty]
disabled :: Maybe (Value Bool)
name :: Value Text
threshold :: Maybe ThresholdProperty
haddock_workaround_ :: ()
checkExpression :: Value Text
columnSelectors :: Maybe [ColumnSelectorProperty]
disabled :: Maybe (Value Bool)
name :: Value Text
threshold :: Maybe ThresholdProperty
..}
instance Property "Threshold" RuleProperty where
  type PropertyType "Threshold" RuleProperty = ThresholdProperty
  set :: PropertyType "Threshold" RuleProperty
-> RuleProperty -> RuleProperty
set PropertyType "Threshold" RuleProperty
newValue RuleProperty {Maybe [ColumnSelectorProperty]
Maybe [SubstitutionValueProperty]
Maybe (Value Bool)
Maybe ThresholdProperty
()
Value Text
haddock_workaround_ :: RuleProperty -> ()
checkExpression :: RuleProperty -> Value Text
columnSelectors :: RuleProperty -> Maybe [ColumnSelectorProperty]
disabled :: RuleProperty -> Maybe (Value Bool)
name :: RuleProperty -> Value Text
substitutionMap :: RuleProperty -> Maybe [SubstitutionValueProperty]
threshold :: RuleProperty -> Maybe ThresholdProperty
haddock_workaround_ :: ()
checkExpression :: Value Text
columnSelectors :: Maybe [ColumnSelectorProperty]
disabled :: Maybe (Value Bool)
name :: Value Text
substitutionMap :: Maybe [SubstitutionValueProperty]
threshold :: Maybe ThresholdProperty
..}
    = RuleProperty {threshold :: Maybe ThresholdProperty
threshold = ThresholdProperty -> Maybe ThresholdProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Threshold" RuleProperty
ThresholdProperty
newValue, Maybe [ColumnSelectorProperty]
Maybe [SubstitutionValueProperty]
Maybe (Value Bool)
()
Value Text
haddock_workaround_ :: ()
checkExpression :: Value Text
columnSelectors :: Maybe [ColumnSelectorProperty]
disabled :: Maybe (Value Bool)
name :: Value Text
substitutionMap :: Maybe [SubstitutionValueProperty]
haddock_workaround_ :: ()
checkExpression :: Value Text
columnSelectors :: Maybe [ColumnSelectorProperty]
disabled :: Maybe (Value Bool)
name :: Value Text
substitutionMap :: Maybe [SubstitutionValueProperty]
..}