module Stratosphere.IoTTwinMaker.ComponentType.PropertyDefinitionProperty (
module Exports, PropertyDefinitionProperty(..),
mkPropertyDefinitionProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.IoTTwinMaker.ComponentType.DataTypeProperty as Exports
import {-# SOURCE #-} Stratosphere.IoTTwinMaker.ComponentType.DataValueProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data PropertyDefinitionProperty
=
PropertyDefinitionProperty {PropertyDefinitionProperty -> ()
haddock_workaround_ :: (),
PropertyDefinitionProperty -> Maybe (Map Text (Value Text))
configurations :: (Prelude.Maybe (Prelude.Map Prelude.Text (Value Prelude.Text))),
PropertyDefinitionProperty -> Maybe DataTypeProperty
dataType :: (Prelude.Maybe DataTypeProperty),
PropertyDefinitionProperty -> Maybe DataValueProperty
defaultValue :: (Prelude.Maybe DataValueProperty),
PropertyDefinitionProperty -> Maybe (Value Bool)
isExternalId :: (Prelude.Maybe (Value Prelude.Bool)),
PropertyDefinitionProperty -> Maybe (Value Bool)
isRequiredInEntity :: (Prelude.Maybe (Value Prelude.Bool)),
PropertyDefinitionProperty -> Maybe (Value Bool)
isStoredExternally :: (Prelude.Maybe (Value Prelude.Bool)),
PropertyDefinitionProperty -> Maybe (Value Bool)
isTimeSeries :: (Prelude.Maybe (Value Prelude.Bool))}
deriving stock (PropertyDefinitionProperty -> PropertyDefinitionProperty -> Bool
(PropertyDefinitionProperty -> PropertyDefinitionProperty -> Bool)
-> (PropertyDefinitionProperty
-> PropertyDefinitionProperty -> Bool)
-> Eq PropertyDefinitionProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: PropertyDefinitionProperty -> PropertyDefinitionProperty -> Bool
== :: PropertyDefinitionProperty -> PropertyDefinitionProperty -> Bool
$c/= :: PropertyDefinitionProperty -> PropertyDefinitionProperty -> Bool
/= :: PropertyDefinitionProperty -> PropertyDefinitionProperty -> Bool
Prelude.Eq, Int -> PropertyDefinitionProperty -> ShowS
[PropertyDefinitionProperty] -> ShowS
PropertyDefinitionProperty -> String
(Int -> PropertyDefinitionProperty -> ShowS)
-> (PropertyDefinitionProperty -> String)
-> ([PropertyDefinitionProperty] -> ShowS)
-> Show PropertyDefinitionProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> PropertyDefinitionProperty -> ShowS
showsPrec :: Int -> PropertyDefinitionProperty -> ShowS
$cshow :: PropertyDefinitionProperty -> String
show :: PropertyDefinitionProperty -> String
$cshowList :: [PropertyDefinitionProperty] -> ShowS
showList :: [PropertyDefinitionProperty] -> ShowS
Prelude.Show)
mkPropertyDefinitionProperty :: PropertyDefinitionProperty
mkPropertyDefinitionProperty :: PropertyDefinitionProperty
mkPropertyDefinitionProperty
= PropertyDefinitionProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), configurations :: Maybe (Map Text (Value Text))
configurations = Maybe (Map Text (Value Text))
forall a. Maybe a
Prelude.Nothing,
dataType :: Maybe DataTypeProperty
dataType = Maybe DataTypeProperty
forall a. Maybe a
Prelude.Nothing, defaultValue :: Maybe DataValueProperty
defaultValue = Maybe DataValueProperty
forall a. Maybe a
Prelude.Nothing,
isExternalId :: Maybe (Value Bool)
isExternalId = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
isRequiredInEntity :: Maybe (Value Bool)
isRequiredInEntity = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
isStoredExternally :: Maybe (Value Bool)
isStoredExternally = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
isTimeSeries :: Maybe (Value Bool)
isTimeSeries = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties PropertyDefinitionProperty where
toResourceProperties :: PropertyDefinitionProperty -> ResourceProperties
toResourceProperties PropertyDefinitionProperty {Maybe (Map Text (Value Text))
Maybe (Value Bool)
Maybe DataValueProperty
Maybe DataTypeProperty
()
haddock_workaround_ :: PropertyDefinitionProperty -> ()
configurations :: PropertyDefinitionProperty -> Maybe (Map Text (Value Text))
dataType :: PropertyDefinitionProperty -> Maybe DataTypeProperty
defaultValue :: PropertyDefinitionProperty -> Maybe DataValueProperty
isExternalId :: PropertyDefinitionProperty -> Maybe (Value Bool)
isRequiredInEntity :: PropertyDefinitionProperty -> Maybe (Value Bool)
isStoredExternally :: PropertyDefinitionProperty -> Maybe (Value Bool)
isTimeSeries :: PropertyDefinitionProperty -> Maybe (Value Bool)
haddock_workaround_ :: ()
configurations :: Maybe (Map Text (Value Text))
dataType :: Maybe DataTypeProperty
defaultValue :: Maybe DataValueProperty
isExternalId :: Maybe (Value Bool)
isRequiredInEntity :: Maybe (Value Bool)
isStoredExternally :: Maybe (Value Bool)
isTimeSeries :: Maybe (Value Bool)
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::IoTTwinMaker::ComponentType.PropertyDefinition",
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 -> Map Text (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
"Configurations" (Map Text (Value Text) -> (Key, Value))
-> Maybe (Map Text (Value Text)) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Map Text (Value Text))
configurations,
Key -> DataTypeProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DataType" (DataTypeProperty -> (Key, Value))
-> Maybe DataTypeProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DataTypeProperty
dataType,
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
"DefaultValue" (DataValueProperty -> (Key, Value))
-> Maybe DataValueProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DataValueProperty
defaultValue,
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
"IsExternalId" (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)
isExternalId,
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
"IsRequiredInEntity" (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)
isRequiredInEntity,
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
"IsStoredExternally" (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)
isStoredExternally,
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
"IsTimeSeries" (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)
isTimeSeries])}
instance JSON.ToJSON PropertyDefinitionProperty where
toJSON :: PropertyDefinitionProperty -> Value
toJSON PropertyDefinitionProperty {Maybe (Map Text (Value Text))
Maybe (Value Bool)
Maybe DataValueProperty
Maybe DataTypeProperty
()
haddock_workaround_ :: PropertyDefinitionProperty -> ()
configurations :: PropertyDefinitionProperty -> Maybe (Map Text (Value Text))
dataType :: PropertyDefinitionProperty -> Maybe DataTypeProperty
defaultValue :: PropertyDefinitionProperty -> Maybe DataValueProperty
isExternalId :: PropertyDefinitionProperty -> Maybe (Value Bool)
isRequiredInEntity :: PropertyDefinitionProperty -> Maybe (Value Bool)
isStoredExternally :: PropertyDefinitionProperty -> Maybe (Value Bool)
isTimeSeries :: PropertyDefinitionProperty -> Maybe (Value Bool)
haddock_workaround_ :: ()
configurations :: Maybe (Map Text (Value Text))
dataType :: Maybe DataTypeProperty
defaultValue :: Maybe DataValueProperty
isExternalId :: Maybe (Value Bool)
isRequiredInEntity :: Maybe (Value Bool)
isStoredExternally :: Maybe (Value Bool)
isTimeSeries :: Maybe (Value Bool)
..}
= [(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 -> Map Text (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
"Configurations" (Map Text (Value Text) -> (Key, Value))
-> Maybe (Map Text (Value Text)) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Map Text (Value Text))
configurations,
Key -> DataTypeProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DataType" (DataTypeProperty -> (Key, Value))
-> Maybe DataTypeProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DataTypeProperty
dataType,
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
"DefaultValue" (DataValueProperty -> (Key, Value))
-> Maybe DataValueProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DataValueProperty
defaultValue,
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
"IsExternalId" (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)
isExternalId,
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
"IsRequiredInEntity" (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)
isRequiredInEntity,
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
"IsStoredExternally" (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)
isStoredExternally,
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
"IsTimeSeries" (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)
isTimeSeries]))
instance Property "Configurations" PropertyDefinitionProperty where
type PropertyType "Configurations" PropertyDefinitionProperty = Prelude.Map Prelude.Text (Value Prelude.Text)
set :: PropertyType "Configurations" PropertyDefinitionProperty
-> PropertyDefinitionProperty -> PropertyDefinitionProperty
set PropertyType "Configurations" PropertyDefinitionProperty
newValue PropertyDefinitionProperty {Maybe (Map Text (Value Text))
Maybe (Value Bool)
Maybe DataValueProperty
Maybe DataTypeProperty
()
haddock_workaround_ :: PropertyDefinitionProperty -> ()
configurations :: PropertyDefinitionProperty -> Maybe (Map Text (Value Text))
dataType :: PropertyDefinitionProperty -> Maybe DataTypeProperty
defaultValue :: PropertyDefinitionProperty -> Maybe DataValueProperty
isExternalId :: PropertyDefinitionProperty -> Maybe (Value Bool)
isRequiredInEntity :: PropertyDefinitionProperty -> Maybe (Value Bool)
isStoredExternally :: PropertyDefinitionProperty -> Maybe (Value Bool)
isTimeSeries :: PropertyDefinitionProperty -> Maybe (Value Bool)
haddock_workaround_ :: ()
configurations :: Maybe (Map Text (Value Text))
dataType :: Maybe DataTypeProperty
defaultValue :: Maybe DataValueProperty
isExternalId :: Maybe (Value Bool)
isRequiredInEntity :: Maybe (Value Bool)
isStoredExternally :: Maybe (Value Bool)
isTimeSeries :: Maybe (Value Bool)
..}
= PropertyDefinitionProperty
{configurations :: Maybe (Map Text (Value Text))
configurations = Map Text (Value Text) -> Maybe (Map Text (Value Text))
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure Map Text (Value Text)
PropertyType "Configurations" PropertyDefinitionProperty
newValue, Maybe (Value Bool)
Maybe DataValueProperty
Maybe DataTypeProperty
()
haddock_workaround_ :: ()
dataType :: Maybe DataTypeProperty
defaultValue :: Maybe DataValueProperty
isExternalId :: Maybe (Value Bool)
isRequiredInEntity :: Maybe (Value Bool)
isStoredExternally :: Maybe (Value Bool)
isTimeSeries :: Maybe (Value Bool)
haddock_workaround_ :: ()
dataType :: Maybe DataTypeProperty
defaultValue :: Maybe DataValueProperty
isExternalId :: Maybe (Value Bool)
isRequiredInEntity :: Maybe (Value Bool)
isStoredExternally :: Maybe (Value Bool)
isTimeSeries :: Maybe (Value Bool)
..}
instance Property "DataType" PropertyDefinitionProperty where
type PropertyType "DataType" PropertyDefinitionProperty = DataTypeProperty
set :: PropertyType "DataType" PropertyDefinitionProperty
-> PropertyDefinitionProperty -> PropertyDefinitionProperty
set PropertyType "DataType" PropertyDefinitionProperty
newValue PropertyDefinitionProperty {Maybe (Map Text (Value Text))
Maybe (Value Bool)
Maybe DataValueProperty
Maybe DataTypeProperty
()
haddock_workaround_ :: PropertyDefinitionProperty -> ()
configurations :: PropertyDefinitionProperty -> Maybe (Map Text (Value Text))
dataType :: PropertyDefinitionProperty -> Maybe DataTypeProperty
defaultValue :: PropertyDefinitionProperty -> Maybe DataValueProperty
isExternalId :: PropertyDefinitionProperty -> Maybe (Value Bool)
isRequiredInEntity :: PropertyDefinitionProperty -> Maybe (Value Bool)
isStoredExternally :: PropertyDefinitionProperty -> Maybe (Value Bool)
isTimeSeries :: PropertyDefinitionProperty -> Maybe (Value Bool)
haddock_workaround_ :: ()
configurations :: Maybe (Map Text (Value Text))
dataType :: Maybe DataTypeProperty
defaultValue :: Maybe DataValueProperty
isExternalId :: Maybe (Value Bool)
isRequiredInEntity :: Maybe (Value Bool)
isStoredExternally :: Maybe (Value Bool)
isTimeSeries :: Maybe (Value Bool)
..}
= PropertyDefinitionProperty {dataType :: Maybe DataTypeProperty
dataType = DataTypeProperty -> Maybe DataTypeProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DataType" PropertyDefinitionProperty
DataTypeProperty
newValue, Maybe (Map Text (Value Text))
Maybe (Value Bool)
Maybe DataValueProperty
()
haddock_workaround_ :: ()
configurations :: Maybe (Map Text (Value Text))
defaultValue :: Maybe DataValueProperty
isExternalId :: Maybe (Value Bool)
isRequiredInEntity :: Maybe (Value Bool)
isStoredExternally :: Maybe (Value Bool)
isTimeSeries :: Maybe (Value Bool)
haddock_workaround_ :: ()
configurations :: Maybe (Map Text (Value Text))
defaultValue :: Maybe DataValueProperty
isExternalId :: Maybe (Value Bool)
isRequiredInEntity :: Maybe (Value Bool)
isStoredExternally :: Maybe (Value Bool)
isTimeSeries :: Maybe (Value Bool)
..}
instance Property "DefaultValue" PropertyDefinitionProperty where
type PropertyType "DefaultValue" PropertyDefinitionProperty = DataValueProperty
set :: PropertyType "DefaultValue" PropertyDefinitionProperty
-> PropertyDefinitionProperty -> PropertyDefinitionProperty
set PropertyType "DefaultValue" PropertyDefinitionProperty
newValue PropertyDefinitionProperty {Maybe (Map Text (Value Text))
Maybe (Value Bool)
Maybe DataValueProperty
Maybe DataTypeProperty
()
haddock_workaround_ :: PropertyDefinitionProperty -> ()
configurations :: PropertyDefinitionProperty -> Maybe (Map Text (Value Text))
dataType :: PropertyDefinitionProperty -> Maybe DataTypeProperty
defaultValue :: PropertyDefinitionProperty -> Maybe DataValueProperty
isExternalId :: PropertyDefinitionProperty -> Maybe (Value Bool)
isRequiredInEntity :: PropertyDefinitionProperty -> Maybe (Value Bool)
isStoredExternally :: PropertyDefinitionProperty -> Maybe (Value Bool)
isTimeSeries :: PropertyDefinitionProperty -> Maybe (Value Bool)
haddock_workaround_ :: ()
configurations :: Maybe (Map Text (Value Text))
dataType :: Maybe DataTypeProperty
defaultValue :: Maybe DataValueProperty
isExternalId :: Maybe (Value Bool)
isRequiredInEntity :: Maybe (Value Bool)
isStoredExternally :: Maybe (Value Bool)
isTimeSeries :: Maybe (Value Bool)
..}
= PropertyDefinitionProperty
{defaultValue :: Maybe DataValueProperty
defaultValue = DataValueProperty -> Maybe DataValueProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DefaultValue" PropertyDefinitionProperty
DataValueProperty
newValue, Maybe (Map Text (Value Text))
Maybe (Value Bool)
Maybe DataTypeProperty
()
haddock_workaround_ :: ()
configurations :: Maybe (Map Text (Value Text))
dataType :: Maybe DataTypeProperty
isExternalId :: Maybe (Value Bool)
isRequiredInEntity :: Maybe (Value Bool)
isStoredExternally :: Maybe (Value Bool)
isTimeSeries :: Maybe (Value Bool)
haddock_workaround_ :: ()
configurations :: Maybe (Map Text (Value Text))
dataType :: Maybe DataTypeProperty
isExternalId :: Maybe (Value Bool)
isRequiredInEntity :: Maybe (Value Bool)
isStoredExternally :: Maybe (Value Bool)
isTimeSeries :: Maybe (Value Bool)
..}
instance Property "IsExternalId" PropertyDefinitionProperty where
type PropertyType "IsExternalId" PropertyDefinitionProperty = Value Prelude.Bool
set :: PropertyType "IsExternalId" PropertyDefinitionProperty
-> PropertyDefinitionProperty -> PropertyDefinitionProperty
set PropertyType "IsExternalId" PropertyDefinitionProperty
newValue PropertyDefinitionProperty {Maybe (Map Text (Value Text))
Maybe (Value Bool)
Maybe DataValueProperty
Maybe DataTypeProperty
()
haddock_workaround_ :: PropertyDefinitionProperty -> ()
configurations :: PropertyDefinitionProperty -> Maybe (Map Text (Value Text))
dataType :: PropertyDefinitionProperty -> Maybe DataTypeProperty
defaultValue :: PropertyDefinitionProperty -> Maybe DataValueProperty
isExternalId :: PropertyDefinitionProperty -> Maybe (Value Bool)
isRequiredInEntity :: PropertyDefinitionProperty -> Maybe (Value Bool)
isStoredExternally :: PropertyDefinitionProperty -> Maybe (Value Bool)
isTimeSeries :: PropertyDefinitionProperty -> Maybe (Value Bool)
haddock_workaround_ :: ()
configurations :: Maybe (Map Text (Value Text))
dataType :: Maybe DataTypeProperty
defaultValue :: Maybe DataValueProperty
isExternalId :: Maybe (Value Bool)
isRequiredInEntity :: Maybe (Value Bool)
isStoredExternally :: Maybe (Value Bool)
isTimeSeries :: Maybe (Value Bool)
..}
= PropertyDefinitionProperty
{isExternalId :: Maybe (Value Bool)
isExternalId = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "IsExternalId" PropertyDefinitionProperty
Value Bool
newValue, Maybe (Map Text (Value Text))
Maybe (Value Bool)
Maybe DataValueProperty
Maybe DataTypeProperty
()
haddock_workaround_ :: ()
configurations :: Maybe (Map Text (Value Text))
dataType :: Maybe DataTypeProperty
defaultValue :: Maybe DataValueProperty
isRequiredInEntity :: Maybe (Value Bool)
isStoredExternally :: Maybe (Value Bool)
isTimeSeries :: Maybe (Value Bool)
haddock_workaround_ :: ()
configurations :: Maybe (Map Text (Value Text))
dataType :: Maybe DataTypeProperty
defaultValue :: Maybe DataValueProperty
isRequiredInEntity :: Maybe (Value Bool)
isStoredExternally :: Maybe (Value Bool)
isTimeSeries :: Maybe (Value Bool)
..}
instance Property "IsRequiredInEntity" PropertyDefinitionProperty where
type PropertyType "IsRequiredInEntity" PropertyDefinitionProperty = Value Prelude.Bool
set :: PropertyType "IsRequiredInEntity" PropertyDefinitionProperty
-> PropertyDefinitionProperty -> PropertyDefinitionProperty
set PropertyType "IsRequiredInEntity" PropertyDefinitionProperty
newValue PropertyDefinitionProperty {Maybe (Map Text (Value Text))
Maybe (Value Bool)
Maybe DataValueProperty
Maybe DataTypeProperty
()
haddock_workaround_ :: PropertyDefinitionProperty -> ()
configurations :: PropertyDefinitionProperty -> Maybe (Map Text (Value Text))
dataType :: PropertyDefinitionProperty -> Maybe DataTypeProperty
defaultValue :: PropertyDefinitionProperty -> Maybe DataValueProperty
isExternalId :: PropertyDefinitionProperty -> Maybe (Value Bool)
isRequiredInEntity :: PropertyDefinitionProperty -> Maybe (Value Bool)
isStoredExternally :: PropertyDefinitionProperty -> Maybe (Value Bool)
isTimeSeries :: PropertyDefinitionProperty -> Maybe (Value Bool)
haddock_workaround_ :: ()
configurations :: Maybe (Map Text (Value Text))
dataType :: Maybe DataTypeProperty
defaultValue :: Maybe DataValueProperty
isExternalId :: Maybe (Value Bool)
isRequiredInEntity :: Maybe (Value Bool)
isStoredExternally :: Maybe (Value Bool)
isTimeSeries :: Maybe (Value Bool)
..}
= PropertyDefinitionProperty
{isRequiredInEntity :: Maybe (Value Bool)
isRequiredInEntity = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "IsRequiredInEntity" PropertyDefinitionProperty
Value Bool
newValue, Maybe (Map Text (Value Text))
Maybe (Value Bool)
Maybe DataValueProperty
Maybe DataTypeProperty
()
haddock_workaround_ :: ()
configurations :: Maybe (Map Text (Value Text))
dataType :: Maybe DataTypeProperty
defaultValue :: Maybe DataValueProperty
isExternalId :: Maybe (Value Bool)
isStoredExternally :: Maybe (Value Bool)
isTimeSeries :: Maybe (Value Bool)
haddock_workaround_ :: ()
configurations :: Maybe (Map Text (Value Text))
dataType :: Maybe DataTypeProperty
defaultValue :: Maybe DataValueProperty
isExternalId :: Maybe (Value Bool)
isStoredExternally :: Maybe (Value Bool)
isTimeSeries :: Maybe (Value Bool)
..}
instance Property "IsStoredExternally" PropertyDefinitionProperty where
type PropertyType "IsStoredExternally" PropertyDefinitionProperty = Value Prelude.Bool
set :: PropertyType "IsStoredExternally" PropertyDefinitionProperty
-> PropertyDefinitionProperty -> PropertyDefinitionProperty
set PropertyType "IsStoredExternally" PropertyDefinitionProperty
newValue PropertyDefinitionProperty {Maybe (Map Text (Value Text))
Maybe (Value Bool)
Maybe DataValueProperty
Maybe DataTypeProperty
()
haddock_workaround_ :: PropertyDefinitionProperty -> ()
configurations :: PropertyDefinitionProperty -> Maybe (Map Text (Value Text))
dataType :: PropertyDefinitionProperty -> Maybe DataTypeProperty
defaultValue :: PropertyDefinitionProperty -> Maybe DataValueProperty
isExternalId :: PropertyDefinitionProperty -> Maybe (Value Bool)
isRequiredInEntity :: PropertyDefinitionProperty -> Maybe (Value Bool)
isStoredExternally :: PropertyDefinitionProperty -> Maybe (Value Bool)
isTimeSeries :: PropertyDefinitionProperty -> Maybe (Value Bool)
haddock_workaround_ :: ()
configurations :: Maybe (Map Text (Value Text))
dataType :: Maybe DataTypeProperty
defaultValue :: Maybe DataValueProperty
isExternalId :: Maybe (Value Bool)
isRequiredInEntity :: Maybe (Value Bool)
isStoredExternally :: Maybe (Value Bool)
isTimeSeries :: Maybe (Value Bool)
..}
= PropertyDefinitionProperty
{isStoredExternally :: Maybe (Value Bool)
isStoredExternally = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "IsStoredExternally" PropertyDefinitionProperty
Value Bool
newValue, Maybe (Map Text (Value Text))
Maybe (Value Bool)
Maybe DataValueProperty
Maybe DataTypeProperty
()
haddock_workaround_ :: ()
configurations :: Maybe (Map Text (Value Text))
dataType :: Maybe DataTypeProperty
defaultValue :: Maybe DataValueProperty
isExternalId :: Maybe (Value Bool)
isRequiredInEntity :: Maybe (Value Bool)
isTimeSeries :: Maybe (Value Bool)
haddock_workaround_ :: ()
configurations :: Maybe (Map Text (Value Text))
dataType :: Maybe DataTypeProperty
defaultValue :: Maybe DataValueProperty
isExternalId :: Maybe (Value Bool)
isRequiredInEntity :: Maybe (Value Bool)
isTimeSeries :: Maybe (Value Bool)
..}
instance Property "IsTimeSeries" PropertyDefinitionProperty where
type PropertyType "IsTimeSeries" PropertyDefinitionProperty = Value Prelude.Bool
set :: PropertyType "IsTimeSeries" PropertyDefinitionProperty
-> PropertyDefinitionProperty -> PropertyDefinitionProperty
set PropertyType "IsTimeSeries" PropertyDefinitionProperty
newValue PropertyDefinitionProperty {Maybe (Map Text (Value Text))
Maybe (Value Bool)
Maybe DataValueProperty
Maybe DataTypeProperty
()
haddock_workaround_ :: PropertyDefinitionProperty -> ()
configurations :: PropertyDefinitionProperty -> Maybe (Map Text (Value Text))
dataType :: PropertyDefinitionProperty -> Maybe DataTypeProperty
defaultValue :: PropertyDefinitionProperty -> Maybe DataValueProperty
isExternalId :: PropertyDefinitionProperty -> Maybe (Value Bool)
isRequiredInEntity :: PropertyDefinitionProperty -> Maybe (Value Bool)
isStoredExternally :: PropertyDefinitionProperty -> Maybe (Value Bool)
isTimeSeries :: PropertyDefinitionProperty -> Maybe (Value Bool)
haddock_workaround_ :: ()
configurations :: Maybe (Map Text (Value Text))
dataType :: Maybe DataTypeProperty
defaultValue :: Maybe DataValueProperty
isExternalId :: Maybe (Value Bool)
isRequiredInEntity :: Maybe (Value Bool)
isStoredExternally :: Maybe (Value Bool)
isTimeSeries :: Maybe (Value Bool)
..}
= PropertyDefinitionProperty
{isTimeSeries :: Maybe (Value Bool)
isTimeSeries = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "IsTimeSeries" PropertyDefinitionProperty
Value Bool
newValue, Maybe (Map Text (Value Text))
Maybe (Value Bool)
Maybe DataValueProperty
Maybe DataTypeProperty
()
haddock_workaround_ :: ()
configurations :: Maybe (Map Text (Value Text))
dataType :: Maybe DataTypeProperty
defaultValue :: Maybe DataValueProperty
isExternalId :: Maybe (Value Bool)
isRequiredInEntity :: Maybe (Value Bool)
isStoredExternally :: Maybe (Value Bool)
haddock_workaround_ :: ()
configurations :: Maybe (Map Text (Value Text))
dataType :: Maybe DataTypeProperty
defaultValue :: Maybe DataValueProperty
isExternalId :: Maybe (Value Bool)
isRequiredInEntity :: Maybe (Value Bool)
isStoredExternally :: Maybe (Value Bool)
..}