module Stratosphere.IoTTwinMaker.Entity.DataValueProperty (
        module Exports, DataValueProperty(..), mkDataValueProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.IoTTwinMaker.Entity.RelationshipValueProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data DataValueProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-datavalue.html>
    DataValueProperty {DataValueProperty -> ()
haddock_workaround_ :: (),
                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-datavalue.html#cfn-iottwinmaker-entity-datavalue-booleanvalue>
                       DataValueProperty -> Maybe (Value Bool)
booleanValue :: (Prelude.Maybe (Value Prelude.Bool)),
                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-datavalue.html#cfn-iottwinmaker-entity-datavalue-doublevalue>
                       DataValueProperty -> Maybe (Value Double)
doubleValue :: (Prelude.Maybe (Value Prelude.Double)),
                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-datavalue.html#cfn-iottwinmaker-entity-datavalue-expression>
                       DataValueProperty -> Maybe (Value Text)
expression :: (Prelude.Maybe (Value Prelude.Text)),
                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-datavalue.html#cfn-iottwinmaker-entity-datavalue-integervalue>
                       DataValueProperty -> Maybe (Value Integer)
integerValue :: (Prelude.Maybe (Value Prelude.Integer)),
                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-datavalue.html#cfn-iottwinmaker-entity-datavalue-listvalue>
                       DataValueProperty -> Maybe [DataValueProperty]
listValue :: (Prelude.Maybe [DataValueProperty]),
                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-datavalue.html#cfn-iottwinmaker-entity-datavalue-longvalue>
                       DataValueProperty -> Maybe (Value Double)
longValue :: (Prelude.Maybe (Value Prelude.Double)),
                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-datavalue.html#cfn-iottwinmaker-entity-datavalue-mapvalue>
                       DataValueProperty -> Maybe (Map Text DataValueProperty)
mapValue :: (Prelude.Maybe (Prelude.Map Prelude.Text DataValueProperty)),
                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-datavalue.html#cfn-iottwinmaker-entity-datavalue-relationshipvalue>
                       DataValueProperty -> Maybe RelationshipValueProperty
relationshipValue :: (Prelude.Maybe RelationshipValueProperty),
                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-datavalue.html#cfn-iottwinmaker-entity-datavalue-stringvalue>
                       DataValueProperty -> Maybe (Value Text)
stringValue :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (DataValueProperty -> DataValueProperty -> Bool
(DataValueProperty -> DataValueProperty -> Bool)
-> (DataValueProperty -> DataValueProperty -> Bool)
-> Eq DataValueProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: DataValueProperty -> DataValueProperty -> Bool
== :: DataValueProperty -> DataValueProperty -> Bool
$c/= :: DataValueProperty -> DataValueProperty -> Bool
/= :: DataValueProperty -> DataValueProperty -> Bool
Prelude.Eq, Int -> DataValueProperty -> ShowS
[DataValueProperty] -> ShowS
DataValueProperty -> String
(Int -> DataValueProperty -> ShowS)
-> (DataValueProperty -> String)
-> ([DataValueProperty] -> ShowS)
-> Show DataValueProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> DataValueProperty -> ShowS
showsPrec :: Int -> DataValueProperty -> ShowS
$cshow :: DataValueProperty -> String
show :: DataValueProperty -> String
$cshowList :: [DataValueProperty] -> ShowS
showList :: [DataValueProperty] -> ShowS
Prelude.Show)
mkDataValueProperty :: DataValueProperty
mkDataValueProperty :: DataValueProperty
mkDataValueProperty
  = DataValueProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), booleanValue :: Maybe (Value Bool)
booleanValue = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       doubleValue :: Maybe (Value Double)
doubleValue = Maybe (Value Double)
forall a. Maybe a
Prelude.Nothing, expression :: Maybe (Value Text)
expression = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       integerValue :: Maybe (Value Integer)
integerValue = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing, listValue :: Maybe [DataValueProperty]
listValue = Maybe [DataValueProperty]
forall a. Maybe a
Prelude.Nothing,
       longValue :: Maybe (Value Double)
longValue = Maybe (Value Double)
forall a. Maybe a
Prelude.Nothing, mapValue :: Maybe (Map Text DataValueProperty)
mapValue = Maybe (Map Text DataValueProperty)
forall a. Maybe a
Prelude.Nothing,
       relationshipValue :: Maybe RelationshipValueProperty
relationshipValue = Maybe RelationshipValueProperty
forall a. Maybe a
Prelude.Nothing, stringValue :: Maybe (Value Text)
stringValue = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties DataValueProperty where
  toResourceProperties :: DataValueProperty -> ResourceProperties
toResourceProperties DataValueProperty {Maybe [DataValueProperty]
Maybe (Map Text DataValueProperty)
Maybe (Value Bool)
Maybe (Value Double)
Maybe (Value Integer)
Maybe (Value Text)
Maybe RelationshipValueProperty
()
haddock_workaround_ :: DataValueProperty -> ()
booleanValue :: DataValueProperty -> Maybe (Value Bool)
doubleValue :: DataValueProperty -> Maybe (Value Double)
expression :: DataValueProperty -> Maybe (Value Text)
integerValue :: DataValueProperty -> Maybe (Value Integer)
listValue :: DataValueProperty -> Maybe [DataValueProperty]
longValue :: DataValueProperty -> Maybe (Value Double)
mapValue :: DataValueProperty -> Maybe (Map Text DataValueProperty)
relationshipValue :: DataValueProperty -> Maybe RelationshipValueProperty
stringValue :: DataValueProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
booleanValue :: Maybe (Value Bool)
doubleValue :: Maybe (Value Double)
expression :: Maybe (Value Text)
integerValue :: Maybe (Value Integer)
listValue :: Maybe [DataValueProperty]
longValue :: Maybe (Value Double)
mapValue :: Maybe (Map Text DataValueProperty)
relationshipValue :: Maybe RelationshipValueProperty
stringValue :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::IoTTwinMaker::Entity.DataValue",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                           [Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"BooleanValue" (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)
booleanValue,
                            Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DoubleValue" (Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
doubleValue,
                            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
"Expression" (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)
expression,
                            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
"IntegerValue" (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)
integerValue,
                            Key -> [DataValueProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ListValue" ([DataValueProperty] -> (Key, Value))
-> Maybe [DataValueProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [DataValueProperty]
listValue,
                            Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"LongValue" (Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
longValue,
                            Key -> Map Text DataValueProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MapValue" (Map Text DataValueProperty -> (Key, Value))
-> Maybe (Map Text DataValueProperty) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Map Text DataValueProperty)
mapValue,
                            Key -> RelationshipValueProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RelationshipValue" (RelationshipValueProperty -> (Key, Value))
-> Maybe RelationshipValueProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe RelationshipValueProperty
relationshipValue,
                            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
"StringValue" (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)
stringValue])}
instance JSON.ToJSON DataValueProperty where
  toJSON :: DataValueProperty -> Value
toJSON DataValueProperty {Maybe [DataValueProperty]
Maybe (Map Text DataValueProperty)
Maybe (Value Bool)
Maybe (Value Double)
Maybe (Value Integer)
Maybe (Value Text)
Maybe RelationshipValueProperty
()
haddock_workaround_ :: DataValueProperty -> ()
booleanValue :: DataValueProperty -> Maybe (Value Bool)
doubleValue :: DataValueProperty -> Maybe (Value Double)
expression :: DataValueProperty -> Maybe (Value Text)
integerValue :: DataValueProperty -> Maybe (Value Integer)
listValue :: DataValueProperty -> Maybe [DataValueProperty]
longValue :: DataValueProperty -> Maybe (Value Double)
mapValue :: DataValueProperty -> Maybe (Map Text DataValueProperty)
relationshipValue :: DataValueProperty -> Maybe RelationshipValueProperty
stringValue :: DataValueProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
booleanValue :: Maybe (Value Bool)
doubleValue :: Maybe (Value Double)
expression :: Maybe (Value Text)
integerValue :: Maybe (Value Integer)
listValue :: Maybe [DataValueProperty]
longValue :: Maybe (Value Double)
mapValue :: Maybe (Map Text DataValueProperty)
relationshipValue :: Maybe RelationshipValueProperty
stringValue :: Maybe (Value Text)
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
              [Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"BooleanValue" (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)
booleanValue,
               Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DoubleValue" (Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
doubleValue,
               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
"Expression" (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)
expression,
               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
"IntegerValue" (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)
integerValue,
               Key -> [DataValueProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ListValue" ([DataValueProperty] -> (Key, Value))
-> Maybe [DataValueProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [DataValueProperty]
listValue,
               Key -> Value Double -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"LongValue" (Value Double -> (Key, Value))
-> Maybe (Value Double) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Double)
longValue,
               Key -> Map Text DataValueProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MapValue" (Map Text DataValueProperty -> (Key, Value))
-> Maybe (Map Text DataValueProperty) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Map Text DataValueProperty)
mapValue,
               Key -> RelationshipValueProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RelationshipValue" (RelationshipValueProperty -> (Key, Value))
-> Maybe RelationshipValueProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe RelationshipValueProperty
relationshipValue,
               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
"StringValue" (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)
stringValue]))
instance Property "BooleanValue" DataValueProperty where
  type PropertyType "BooleanValue" DataValueProperty = Value Prelude.Bool
  set :: PropertyType "BooleanValue" DataValueProperty
-> DataValueProperty -> DataValueProperty
set PropertyType "BooleanValue" DataValueProperty
newValue DataValueProperty {Maybe [DataValueProperty]
Maybe (Map Text DataValueProperty)
Maybe (Value Bool)
Maybe (Value Double)
Maybe (Value Integer)
Maybe (Value Text)
Maybe RelationshipValueProperty
()
haddock_workaround_ :: DataValueProperty -> ()
booleanValue :: DataValueProperty -> Maybe (Value Bool)
doubleValue :: DataValueProperty -> Maybe (Value Double)
expression :: DataValueProperty -> Maybe (Value Text)
integerValue :: DataValueProperty -> Maybe (Value Integer)
listValue :: DataValueProperty -> Maybe [DataValueProperty]
longValue :: DataValueProperty -> Maybe (Value Double)
mapValue :: DataValueProperty -> Maybe (Map Text DataValueProperty)
relationshipValue :: DataValueProperty -> Maybe RelationshipValueProperty
stringValue :: DataValueProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
booleanValue :: Maybe (Value Bool)
doubleValue :: Maybe (Value Double)
expression :: Maybe (Value Text)
integerValue :: Maybe (Value Integer)
listValue :: Maybe [DataValueProperty]
longValue :: Maybe (Value Double)
mapValue :: Maybe (Map Text DataValueProperty)
relationshipValue :: Maybe RelationshipValueProperty
stringValue :: Maybe (Value Text)
..}
    = DataValueProperty {booleanValue :: Maybe (Value Bool)
booleanValue = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "BooleanValue" DataValueProperty
Value Bool
newValue, Maybe [DataValueProperty]
Maybe (Map Text DataValueProperty)
Maybe (Value Double)
Maybe (Value Integer)
Maybe (Value Text)
Maybe RelationshipValueProperty
()
haddock_workaround_ :: ()
doubleValue :: Maybe (Value Double)
expression :: Maybe (Value Text)
integerValue :: Maybe (Value Integer)
listValue :: Maybe [DataValueProperty]
longValue :: Maybe (Value Double)
mapValue :: Maybe (Map Text DataValueProperty)
relationshipValue :: Maybe RelationshipValueProperty
stringValue :: Maybe (Value Text)
haddock_workaround_ :: ()
doubleValue :: Maybe (Value Double)
expression :: Maybe (Value Text)
integerValue :: Maybe (Value Integer)
listValue :: Maybe [DataValueProperty]
longValue :: Maybe (Value Double)
mapValue :: Maybe (Map Text DataValueProperty)
relationshipValue :: Maybe RelationshipValueProperty
stringValue :: Maybe (Value Text)
..}
instance Property "DoubleValue" DataValueProperty where
  type PropertyType "DoubleValue" DataValueProperty = Value Prelude.Double
  set :: PropertyType "DoubleValue" DataValueProperty
-> DataValueProperty -> DataValueProperty
set PropertyType "DoubleValue" DataValueProperty
newValue DataValueProperty {Maybe [DataValueProperty]
Maybe (Map Text DataValueProperty)
Maybe (Value Bool)
Maybe (Value Double)
Maybe (Value Integer)
Maybe (Value Text)
Maybe RelationshipValueProperty
()
haddock_workaround_ :: DataValueProperty -> ()
booleanValue :: DataValueProperty -> Maybe (Value Bool)
doubleValue :: DataValueProperty -> Maybe (Value Double)
expression :: DataValueProperty -> Maybe (Value Text)
integerValue :: DataValueProperty -> Maybe (Value Integer)
listValue :: DataValueProperty -> Maybe [DataValueProperty]
longValue :: DataValueProperty -> Maybe (Value Double)
mapValue :: DataValueProperty -> Maybe (Map Text DataValueProperty)
relationshipValue :: DataValueProperty -> Maybe RelationshipValueProperty
stringValue :: DataValueProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
booleanValue :: Maybe (Value Bool)
doubleValue :: Maybe (Value Double)
expression :: Maybe (Value Text)
integerValue :: Maybe (Value Integer)
listValue :: Maybe [DataValueProperty]
longValue :: Maybe (Value Double)
mapValue :: Maybe (Map Text DataValueProperty)
relationshipValue :: Maybe RelationshipValueProperty
stringValue :: Maybe (Value Text)
..}
    = DataValueProperty {doubleValue :: Maybe (Value Double)
doubleValue = Value Double -> Maybe (Value Double)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DoubleValue" DataValueProperty
Value Double
newValue, Maybe [DataValueProperty]
Maybe (Map Text DataValueProperty)
Maybe (Value Bool)
Maybe (Value Double)
Maybe (Value Integer)
Maybe (Value Text)
Maybe RelationshipValueProperty
()
haddock_workaround_ :: ()
booleanValue :: Maybe (Value Bool)
expression :: Maybe (Value Text)
integerValue :: Maybe (Value Integer)
listValue :: Maybe [DataValueProperty]
longValue :: Maybe (Value Double)
mapValue :: Maybe (Map Text DataValueProperty)
relationshipValue :: Maybe RelationshipValueProperty
stringValue :: Maybe (Value Text)
haddock_workaround_ :: ()
booleanValue :: Maybe (Value Bool)
expression :: Maybe (Value Text)
integerValue :: Maybe (Value Integer)
listValue :: Maybe [DataValueProperty]
longValue :: Maybe (Value Double)
mapValue :: Maybe (Map Text DataValueProperty)
relationshipValue :: Maybe RelationshipValueProperty
stringValue :: Maybe (Value Text)
..}
instance Property "Expression" DataValueProperty where
  type PropertyType "Expression" DataValueProperty = Value Prelude.Text
  set :: PropertyType "Expression" DataValueProperty
-> DataValueProperty -> DataValueProperty
set PropertyType "Expression" DataValueProperty
newValue DataValueProperty {Maybe [DataValueProperty]
Maybe (Map Text DataValueProperty)
Maybe (Value Bool)
Maybe (Value Double)
Maybe (Value Integer)
Maybe (Value Text)
Maybe RelationshipValueProperty
()
haddock_workaround_ :: DataValueProperty -> ()
booleanValue :: DataValueProperty -> Maybe (Value Bool)
doubleValue :: DataValueProperty -> Maybe (Value Double)
expression :: DataValueProperty -> Maybe (Value Text)
integerValue :: DataValueProperty -> Maybe (Value Integer)
listValue :: DataValueProperty -> Maybe [DataValueProperty]
longValue :: DataValueProperty -> Maybe (Value Double)
mapValue :: DataValueProperty -> Maybe (Map Text DataValueProperty)
relationshipValue :: DataValueProperty -> Maybe RelationshipValueProperty
stringValue :: DataValueProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
booleanValue :: Maybe (Value Bool)
doubleValue :: Maybe (Value Double)
expression :: Maybe (Value Text)
integerValue :: Maybe (Value Integer)
listValue :: Maybe [DataValueProperty]
longValue :: Maybe (Value Double)
mapValue :: Maybe (Map Text DataValueProperty)
relationshipValue :: Maybe RelationshipValueProperty
stringValue :: Maybe (Value Text)
..}
    = DataValueProperty {expression :: Maybe (Value Text)
expression = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Expression" DataValueProperty
Value Text
newValue, Maybe [DataValueProperty]
Maybe (Map Text DataValueProperty)
Maybe (Value Bool)
Maybe (Value Double)
Maybe (Value Integer)
Maybe (Value Text)
Maybe RelationshipValueProperty
()
haddock_workaround_ :: ()
booleanValue :: Maybe (Value Bool)
doubleValue :: Maybe (Value Double)
integerValue :: Maybe (Value Integer)
listValue :: Maybe [DataValueProperty]
longValue :: Maybe (Value Double)
mapValue :: Maybe (Map Text DataValueProperty)
relationshipValue :: Maybe RelationshipValueProperty
stringValue :: Maybe (Value Text)
haddock_workaround_ :: ()
booleanValue :: Maybe (Value Bool)
doubleValue :: Maybe (Value Double)
integerValue :: Maybe (Value Integer)
listValue :: Maybe [DataValueProperty]
longValue :: Maybe (Value Double)
mapValue :: Maybe (Map Text DataValueProperty)
relationshipValue :: Maybe RelationshipValueProperty
stringValue :: Maybe (Value Text)
..}
instance Property "IntegerValue" DataValueProperty where
  type PropertyType "IntegerValue" DataValueProperty = Value Prelude.Integer
  set :: PropertyType "IntegerValue" DataValueProperty
-> DataValueProperty -> DataValueProperty
set PropertyType "IntegerValue" DataValueProperty
newValue DataValueProperty {Maybe [DataValueProperty]
Maybe (Map Text DataValueProperty)
Maybe (Value Bool)
Maybe (Value Double)
Maybe (Value Integer)
Maybe (Value Text)
Maybe RelationshipValueProperty
()
haddock_workaround_ :: DataValueProperty -> ()
booleanValue :: DataValueProperty -> Maybe (Value Bool)
doubleValue :: DataValueProperty -> Maybe (Value Double)
expression :: DataValueProperty -> Maybe (Value Text)
integerValue :: DataValueProperty -> Maybe (Value Integer)
listValue :: DataValueProperty -> Maybe [DataValueProperty]
longValue :: DataValueProperty -> Maybe (Value Double)
mapValue :: DataValueProperty -> Maybe (Map Text DataValueProperty)
relationshipValue :: DataValueProperty -> Maybe RelationshipValueProperty
stringValue :: DataValueProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
booleanValue :: Maybe (Value Bool)
doubleValue :: Maybe (Value Double)
expression :: Maybe (Value Text)
integerValue :: Maybe (Value Integer)
listValue :: Maybe [DataValueProperty]
longValue :: Maybe (Value Double)
mapValue :: Maybe (Map Text DataValueProperty)
relationshipValue :: Maybe RelationshipValueProperty
stringValue :: Maybe (Value Text)
..}
    = DataValueProperty {integerValue :: Maybe (Value Integer)
integerValue = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "IntegerValue" DataValueProperty
Value Integer
newValue, Maybe [DataValueProperty]
Maybe (Map Text DataValueProperty)
Maybe (Value Bool)
Maybe (Value Double)
Maybe (Value Text)
Maybe RelationshipValueProperty
()
haddock_workaround_ :: ()
booleanValue :: Maybe (Value Bool)
doubleValue :: Maybe (Value Double)
expression :: Maybe (Value Text)
listValue :: Maybe [DataValueProperty]
longValue :: Maybe (Value Double)
mapValue :: Maybe (Map Text DataValueProperty)
relationshipValue :: Maybe RelationshipValueProperty
stringValue :: Maybe (Value Text)
haddock_workaround_ :: ()
booleanValue :: Maybe (Value Bool)
doubleValue :: Maybe (Value Double)
expression :: Maybe (Value Text)
listValue :: Maybe [DataValueProperty]
longValue :: Maybe (Value Double)
mapValue :: Maybe (Map Text DataValueProperty)
relationshipValue :: Maybe RelationshipValueProperty
stringValue :: Maybe (Value Text)
..}
instance Property "ListValue" DataValueProperty where
  type PropertyType "ListValue" DataValueProperty = [DataValueProperty]
  set :: PropertyType "ListValue" DataValueProperty
-> DataValueProperty -> DataValueProperty
set PropertyType "ListValue" DataValueProperty
newValue DataValueProperty {Maybe [DataValueProperty]
Maybe (Map Text DataValueProperty)
Maybe (Value Bool)
Maybe (Value Double)
Maybe (Value Integer)
Maybe (Value Text)
Maybe RelationshipValueProperty
()
haddock_workaround_ :: DataValueProperty -> ()
booleanValue :: DataValueProperty -> Maybe (Value Bool)
doubleValue :: DataValueProperty -> Maybe (Value Double)
expression :: DataValueProperty -> Maybe (Value Text)
integerValue :: DataValueProperty -> Maybe (Value Integer)
listValue :: DataValueProperty -> Maybe [DataValueProperty]
longValue :: DataValueProperty -> Maybe (Value Double)
mapValue :: DataValueProperty -> Maybe (Map Text DataValueProperty)
relationshipValue :: DataValueProperty -> Maybe RelationshipValueProperty
stringValue :: DataValueProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
booleanValue :: Maybe (Value Bool)
doubleValue :: Maybe (Value Double)
expression :: Maybe (Value Text)
integerValue :: Maybe (Value Integer)
listValue :: Maybe [DataValueProperty]
longValue :: Maybe (Value Double)
mapValue :: Maybe (Map Text DataValueProperty)
relationshipValue :: Maybe RelationshipValueProperty
stringValue :: Maybe (Value Text)
..}
    = DataValueProperty {listValue :: Maybe [DataValueProperty]
listValue = [DataValueProperty] -> Maybe [DataValueProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [DataValueProperty]
PropertyType "ListValue" DataValueProperty
newValue, Maybe (Map Text DataValueProperty)
Maybe (Value Bool)
Maybe (Value Double)
Maybe (Value Integer)
Maybe (Value Text)
Maybe RelationshipValueProperty
()
haddock_workaround_ :: ()
booleanValue :: Maybe (Value Bool)
doubleValue :: Maybe (Value Double)
expression :: Maybe (Value Text)
integerValue :: Maybe (Value Integer)
longValue :: Maybe (Value Double)
mapValue :: Maybe (Map Text DataValueProperty)
relationshipValue :: Maybe RelationshipValueProperty
stringValue :: Maybe (Value Text)
haddock_workaround_ :: ()
booleanValue :: Maybe (Value Bool)
doubleValue :: Maybe (Value Double)
expression :: Maybe (Value Text)
integerValue :: Maybe (Value Integer)
longValue :: Maybe (Value Double)
mapValue :: Maybe (Map Text DataValueProperty)
relationshipValue :: Maybe RelationshipValueProperty
stringValue :: Maybe (Value Text)
..}
instance Property "LongValue" DataValueProperty where
  type PropertyType "LongValue" DataValueProperty = Value Prelude.Double
  set :: PropertyType "LongValue" DataValueProperty
-> DataValueProperty -> DataValueProperty
set PropertyType "LongValue" DataValueProperty
newValue DataValueProperty {Maybe [DataValueProperty]
Maybe (Map Text DataValueProperty)
Maybe (Value Bool)
Maybe (Value Double)
Maybe (Value Integer)
Maybe (Value Text)
Maybe RelationshipValueProperty
()
haddock_workaround_ :: DataValueProperty -> ()
booleanValue :: DataValueProperty -> Maybe (Value Bool)
doubleValue :: DataValueProperty -> Maybe (Value Double)
expression :: DataValueProperty -> Maybe (Value Text)
integerValue :: DataValueProperty -> Maybe (Value Integer)
listValue :: DataValueProperty -> Maybe [DataValueProperty]
longValue :: DataValueProperty -> Maybe (Value Double)
mapValue :: DataValueProperty -> Maybe (Map Text DataValueProperty)
relationshipValue :: DataValueProperty -> Maybe RelationshipValueProperty
stringValue :: DataValueProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
booleanValue :: Maybe (Value Bool)
doubleValue :: Maybe (Value Double)
expression :: Maybe (Value Text)
integerValue :: Maybe (Value Integer)
listValue :: Maybe [DataValueProperty]
longValue :: Maybe (Value Double)
mapValue :: Maybe (Map Text DataValueProperty)
relationshipValue :: Maybe RelationshipValueProperty
stringValue :: Maybe (Value Text)
..}
    = DataValueProperty {longValue :: Maybe (Value Double)
longValue = Value Double -> Maybe (Value Double)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "LongValue" DataValueProperty
Value Double
newValue, Maybe [DataValueProperty]
Maybe (Map Text DataValueProperty)
Maybe (Value Bool)
Maybe (Value Double)
Maybe (Value Integer)
Maybe (Value Text)
Maybe RelationshipValueProperty
()
haddock_workaround_ :: ()
booleanValue :: Maybe (Value Bool)
doubleValue :: Maybe (Value Double)
expression :: Maybe (Value Text)
integerValue :: Maybe (Value Integer)
listValue :: Maybe [DataValueProperty]
mapValue :: Maybe (Map Text DataValueProperty)
relationshipValue :: Maybe RelationshipValueProperty
stringValue :: Maybe (Value Text)
haddock_workaround_ :: ()
booleanValue :: Maybe (Value Bool)
doubleValue :: Maybe (Value Double)
expression :: Maybe (Value Text)
integerValue :: Maybe (Value Integer)
listValue :: Maybe [DataValueProperty]
mapValue :: Maybe (Map Text DataValueProperty)
relationshipValue :: Maybe RelationshipValueProperty
stringValue :: Maybe (Value Text)
..}
instance Property "MapValue" DataValueProperty where
  type PropertyType "MapValue" DataValueProperty = Prelude.Map Prelude.Text DataValueProperty
  set :: PropertyType "MapValue" DataValueProperty
-> DataValueProperty -> DataValueProperty
set PropertyType "MapValue" DataValueProperty
newValue DataValueProperty {Maybe [DataValueProperty]
Maybe (Map Text DataValueProperty)
Maybe (Value Bool)
Maybe (Value Double)
Maybe (Value Integer)
Maybe (Value Text)
Maybe RelationshipValueProperty
()
haddock_workaround_ :: DataValueProperty -> ()
booleanValue :: DataValueProperty -> Maybe (Value Bool)
doubleValue :: DataValueProperty -> Maybe (Value Double)
expression :: DataValueProperty -> Maybe (Value Text)
integerValue :: DataValueProperty -> Maybe (Value Integer)
listValue :: DataValueProperty -> Maybe [DataValueProperty]
longValue :: DataValueProperty -> Maybe (Value Double)
mapValue :: DataValueProperty -> Maybe (Map Text DataValueProperty)
relationshipValue :: DataValueProperty -> Maybe RelationshipValueProperty
stringValue :: DataValueProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
booleanValue :: Maybe (Value Bool)
doubleValue :: Maybe (Value Double)
expression :: Maybe (Value Text)
integerValue :: Maybe (Value Integer)
listValue :: Maybe [DataValueProperty]
longValue :: Maybe (Value Double)
mapValue :: Maybe (Map Text DataValueProperty)
relationshipValue :: Maybe RelationshipValueProperty
stringValue :: Maybe (Value Text)
..}
    = DataValueProperty {mapValue :: Maybe (Map Text DataValueProperty)
mapValue = Map Text DataValueProperty -> Maybe (Map Text DataValueProperty)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure Map Text DataValueProperty
PropertyType "MapValue" DataValueProperty
newValue, Maybe [DataValueProperty]
Maybe (Value Bool)
Maybe (Value Double)
Maybe (Value Integer)
Maybe (Value Text)
Maybe RelationshipValueProperty
()
haddock_workaround_ :: ()
booleanValue :: Maybe (Value Bool)
doubleValue :: Maybe (Value Double)
expression :: Maybe (Value Text)
integerValue :: Maybe (Value Integer)
listValue :: Maybe [DataValueProperty]
longValue :: Maybe (Value Double)
relationshipValue :: Maybe RelationshipValueProperty
stringValue :: Maybe (Value Text)
haddock_workaround_ :: ()
booleanValue :: Maybe (Value Bool)
doubleValue :: Maybe (Value Double)
expression :: Maybe (Value Text)
integerValue :: Maybe (Value Integer)
listValue :: Maybe [DataValueProperty]
longValue :: Maybe (Value Double)
relationshipValue :: Maybe RelationshipValueProperty
stringValue :: Maybe (Value Text)
..}
instance Property "RelationshipValue" DataValueProperty where
  type PropertyType "RelationshipValue" DataValueProperty = RelationshipValueProperty
  set :: PropertyType "RelationshipValue" DataValueProperty
-> DataValueProperty -> DataValueProperty
set PropertyType "RelationshipValue" DataValueProperty
newValue DataValueProperty {Maybe [DataValueProperty]
Maybe (Map Text DataValueProperty)
Maybe (Value Bool)
Maybe (Value Double)
Maybe (Value Integer)
Maybe (Value Text)
Maybe RelationshipValueProperty
()
haddock_workaround_ :: DataValueProperty -> ()
booleanValue :: DataValueProperty -> Maybe (Value Bool)
doubleValue :: DataValueProperty -> Maybe (Value Double)
expression :: DataValueProperty -> Maybe (Value Text)
integerValue :: DataValueProperty -> Maybe (Value Integer)
listValue :: DataValueProperty -> Maybe [DataValueProperty]
longValue :: DataValueProperty -> Maybe (Value Double)
mapValue :: DataValueProperty -> Maybe (Map Text DataValueProperty)
relationshipValue :: DataValueProperty -> Maybe RelationshipValueProperty
stringValue :: DataValueProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
booleanValue :: Maybe (Value Bool)
doubleValue :: Maybe (Value Double)
expression :: Maybe (Value Text)
integerValue :: Maybe (Value Integer)
listValue :: Maybe [DataValueProperty]
longValue :: Maybe (Value Double)
mapValue :: Maybe (Map Text DataValueProperty)
relationshipValue :: Maybe RelationshipValueProperty
stringValue :: Maybe (Value Text)
..}
    = DataValueProperty {relationshipValue :: Maybe RelationshipValueProperty
relationshipValue = RelationshipValueProperty -> Maybe RelationshipValueProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RelationshipValue" DataValueProperty
RelationshipValueProperty
newValue, Maybe [DataValueProperty]
Maybe (Map Text DataValueProperty)
Maybe (Value Bool)
Maybe (Value Double)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
booleanValue :: Maybe (Value Bool)
doubleValue :: Maybe (Value Double)
expression :: Maybe (Value Text)
integerValue :: Maybe (Value Integer)
listValue :: Maybe [DataValueProperty]
longValue :: Maybe (Value Double)
mapValue :: Maybe (Map Text DataValueProperty)
stringValue :: Maybe (Value Text)
haddock_workaround_ :: ()
booleanValue :: Maybe (Value Bool)
doubleValue :: Maybe (Value Double)
expression :: Maybe (Value Text)
integerValue :: Maybe (Value Integer)
listValue :: Maybe [DataValueProperty]
longValue :: Maybe (Value Double)
mapValue :: Maybe (Map Text DataValueProperty)
stringValue :: Maybe (Value Text)
..}
instance Property "StringValue" DataValueProperty where
  type PropertyType "StringValue" DataValueProperty = Value Prelude.Text
  set :: PropertyType "StringValue" DataValueProperty
-> DataValueProperty -> DataValueProperty
set PropertyType "StringValue" DataValueProperty
newValue DataValueProperty {Maybe [DataValueProperty]
Maybe (Map Text DataValueProperty)
Maybe (Value Bool)
Maybe (Value Double)
Maybe (Value Integer)
Maybe (Value Text)
Maybe RelationshipValueProperty
()
haddock_workaround_ :: DataValueProperty -> ()
booleanValue :: DataValueProperty -> Maybe (Value Bool)
doubleValue :: DataValueProperty -> Maybe (Value Double)
expression :: DataValueProperty -> Maybe (Value Text)
integerValue :: DataValueProperty -> Maybe (Value Integer)
listValue :: DataValueProperty -> Maybe [DataValueProperty]
longValue :: DataValueProperty -> Maybe (Value Double)
mapValue :: DataValueProperty -> Maybe (Map Text DataValueProperty)
relationshipValue :: DataValueProperty -> Maybe RelationshipValueProperty
stringValue :: DataValueProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
booleanValue :: Maybe (Value Bool)
doubleValue :: Maybe (Value Double)
expression :: Maybe (Value Text)
integerValue :: Maybe (Value Integer)
listValue :: Maybe [DataValueProperty]
longValue :: Maybe (Value Double)
mapValue :: Maybe (Map Text DataValueProperty)
relationshipValue :: Maybe RelationshipValueProperty
stringValue :: Maybe (Value Text)
..}
    = DataValueProperty {stringValue :: Maybe (Value Text)
stringValue = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "StringValue" DataValueProperty
Value Text
newValue, Maybe [DataValueProperty]
Maybe (Map Text DataValueProperty)
Maybe (Value Bool)
Maybe (Value Double)
Maybe (Value Integer)
Maybe (Value Text)
Maybe RelationshipValueProperty
()
haddock_workaround_ :: ()
booleanValue :: Maybe (Value Bool)
doubleValue :: Maybe (Value Double)
expression :: Maybe (Value Text)
integerValue :: Maybe (Value Integer)
listValue :: Maybe [DataValueProperty]
longValue :: Maybe (Value Double)
mapValue :: Maybe (Map Text DataValueProperty)
relationshipValue :: Maybe RelationshipValueProperty
haddock_workaround_ :: ()
booleanValue :: Maybe (Value Bool)
doubleValue :: Maybe (Value Double)
expression :: Maybe (Value Text)
integerValue :: Maybe (Value Integer)
listValue :: Maybe [DataValueProperty]
longValue :: Maybe (Value Double)
mapValue :: Maybe (Map Text DataValueProperty)
relationshipValue :: Maybe RelationshipValueProperty
..}