module Stratosphere.IoTFleetWise.SignalCatalog.ActuatorProperty (
ActuatorProperty(..), mkActuatorProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data ActuatorProperty
=
ActuatorProperty {ActuatorProperty -> ()
haddock_workaround_ :: (),
ActuatorProperty -> Maybe (ValueList Text)
allowedValues :: (Prelude.Maybe (ValueList Prelude.Text)),
ActuatorProperty -> Maybe (Value Text)
assignedValue :: (Prelude.Maybe (Value Prelude.Text)),
ActuatorProperty -> Value Text
dataType :: (Value Prelude.Text),
ActuatorProperty -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
ActuatorProperty -> Value Text
fullyQualifiedName :: (Value Prelude.Text),
ActuatorProperty -> Maybe (Value Double)
max :: (Prelude.Maybe (Value Prelude.Double)),
ActuatorProperty -> Maybe (Value Double)
min :: (Prelude.Maybe (Value Prelude.Double)),
ActuatorProperty -> Maybe (Value Text)
unit :: (Prelude.Maybe (Value Prelude.Text))}
deriving stock (ActuatorProperty -> ActuatorProperty -> Bool
(ActuatorProperty -> ActuatorProperty -> Bool)
-> (ActuatorProperty -> ActuatorProperty -> Bool)
-> Eq ActuatorProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ActuatorProperty -> ActuatorProperty -> Bool
== :: ActuatorProperty -> ActuatorProperty -> Bool
$c/= :: ActuatorProperty -> ActuatorProperty -> Bool
/= :: ActuatorProperty -> ActuatorProperty -> Bool
Prelude.Eq, Int -> ActuatorProperty -> ShowS
[ActuatorProperty] -> ShowS
ActuatorProperty -> String
(Int -> ActuatorProperty -> ShowS)
-> (ActuatorProperty -> String)
-> ([ActuatorProperty] -> ShowS)
-> Show ActuatorProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ActuatorProperty -> ShowS
showsPrec :: Int -> ActuatorProperty -> ShowS
$cshow :: ActuatorProperty -> String
show :: ActuatorProperty -> String
$cshowList :: [ActuatorProperty] -> ShowS
showList :: [ActuatorProperty] -> ShowS
Prelude.Show)
mkActuatorProperty ::
Value Prelude.Text -> Value Prelude.Text -> ActuatorProperty
mkActuatorProperty :: Value Text -> Value Text -> ActuatorProperty
mkActuatorProperty Value Text
dataType Value Text
fullyQualifiedName
= ActuatorProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), dataType :: Value Text
dataType = Value Text
dataType,
fullyQualifiedName :: Value Text
fullyQualifiedName = Value Text
fullyQualifiedName,
allowedValues :: Maybe (ValueList Text)
allowedValues = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing, assignedValue :: Maybe (Value Text)
assignedValue = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, max :: Maybe (Value Double)
max = Maybe (Value Double)
forall a. Maybe a
Prelude.Nothing,
min :: Maybe (Value Double)
min = Maybe (Value Double)
forall a. Maybe a
Prelude.Nothing, unit :: Maybe (Value Text)
unit = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties ActuatorProperty where
toResourceProperties :: ActuatorProperty -> ResourceProperties
toResourceProperties ActuatorProperty {Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ActuatorProperty -> ()
allowedValues :: ActuatorProperty -> Maybe (ValueList Text)
assignedValue :: ActuatorProperty -> Maybe (Value Text)
dataType :: ActuatorProperty -> Value Text
description :: ActuatorProperty -> Maybe (Value Text)
fullyQualifiedName :: ActuatorProperty -> Value Text
max :: ActuatorProperty -> Maybe (Value Double)
min :: ActuatorProperty -> Maybe (Value Double)
unit :: ActuatorProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::IoTFleetWise::SignalCatalog.Actuator",
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
"DataType" 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
dataType,
Key
"FullyQualifiedName" 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
fullyQualifiedName]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AllowedValues" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
allowedValues,
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
"AssignedValue" (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)
assignedValue,
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 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
"Max" (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)
max, 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
"Min" (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)
min,
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
"Unit" (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)
unit]))}
instance JSON.ToJSON ActuatorProperty where
toJSON :: ActuatorProperty -> Value
toJSON ActuatorProperty {Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ActuatorProperty -> ()
allowedValues :: ActuatorProperty -> Maybe (ValueList Text)
assignedValue :: ActuatorProperty -> Maybe (Value Text)
dataType :: ActuatorProperty -> Value Text
description :: ActuatorProperty -> Maybe (Value Text)
fullyQualifiedName :: ActuatorProperty -> Value Text
max :: ActuatorProperty -> Maybe (Value Double)
min :: ActuatorProperty -> Maybe (Value Double)
unit :: ActuatorProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: 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
"DataType" 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
dataType,
Key
"FullyQualifiedName" 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
fullyQualifiedName]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AllowedValues" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
allowedValues,
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
"AssignedValue" (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)
assignedValue,
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 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
"Max" (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)
max, 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
"Min" (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)
min,
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
"Unit" (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)
unit])))
instance Property "AllowedValues" ActuatorProperty where
type PropertyType "AllowedValues" ActuatorProperty = ValueList Prelude.Text
set :: PropertyType "AllowedValues" ActuatorProperty
-> ActuatorProperty -> ActuatorProperty
set PropertyType "AllowedValues" ActuatorProperty
newValue ActuatorProperty {Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ActuatorProperty -> ()
allowedValues :: ActuatorProperty -> Maybe (ValueList Text)
assignedValue :: ActuatorProperty -> Maybe (Value Text)
dataType :: ActuatorProperty -> Value Text
description :: ActuatorProperty -> Maybe (Value Text)
fullyQualifiedName :: ActuatorProperty -> Value Text
max :: ActuatorProperty -> Maybe (Value Double)
min :: ActuatorProperty -> Maybe (Value Double)
unit :: ActuatorProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
..}
= ActuatorProperty {allowedValues :: Maybe (ValueList Text)
allowedValues = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AllowedValues" ActuatorProperty
ValueList Text
newValue, Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
assignedValue :: Maybe (Value Text)
dataType :: Value Text
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
haddock_workaround_ :: ()
assignedValue :: Maybe (Value Text)
dataType :: Value Text
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
..}
instance Property "AssignedValue" ActuatorProperty where
type PropertyType "AssignedValue" ActuatorProperty = Value Prelude.Text
set :: PropertyType "AssignedValue" ActuatorProperty
-> ActuatorProperty -> ActuatorProperty
set PropertyType "AssignedValue" ActuatorProperty
newValue ActuatorProperty {Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ActuatorProperty -> ()
allowedValues :: ActuatorProperty -> Maybe (ValueList Text)
assignedValue :: ActuatorProperty -> Maybe (Value Text)
dataType :: ActuatorProperty -> Value Text
description :: ActuatorProperty -> Maybe (Value Text)
fullyQualifiedName :: ActuatorProperty -> Value Text
max :: ActuatorProperty -> Maybe (Value Double)
min :: ActuatorProperty -> Maybe (Value Double)
unit :: ActuatorProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
..}
= ActuatorProperty {assignedValue :: Maybe (Value Text)
assignedValue = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AssignedValue" ActuatorProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
dataType :: Value Text
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
dataType :: Value Text
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
..}
instance Property "DataType" ActuatorProperty where
type PropertyType "DataType" ActuatorProperty = Value Prelude.Text
set :: PropertyType "DataType" ActuatorProperty
-> ActuatorProperty -> ActuatorProperty
set PropertyType "DataType" ActuatorProperty
newValue ActuatorProperty {Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ActuatorProperty -> ()
allowedValues :: ActuatorProperty -> Maybe (ValueList Text)
assignedValue :: ActuatorProperty -> Maybe (Value Text)
dataType :: ActuatorProperty -> Value Text
description :: ActuatorProperty -> Maybe (Value Text)
fullyQualifiedName :: ActuatorProperty -> Value Text
max :: ActuatorProperty -> Maybe (Value Double)
min :: ActuatorProperty -> Maybe (Value Double)
unit :: ActuatorProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
..}
= ActuatorProperty {dataType :: Value Text
dataType = PropertyType "DataType" ActuatorProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
..}
instance Property "Description" ActuatorProperty where
type PropertyType "Description" ActuatorProperty = Value Prelude.Text
set :: PropertyType "Description" ActuatorProperty
-> ActuatorProperty -> ActuatorProperty
set PropertyType "Description" ActuatorProperty
newValue ActuatorProperty {Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ActuatorProperty -> ()
allowedValues :: ActuatorProperty -> Maybe (ValueList Text)
assignedValue :: ActuatorProperty -> Maybe (Value Text)
dataType :: ActuatorProperty -> Value Text
description :: ActuatorProperty -> Maybe (Value Text)
fullyQualifiedName :: ActuatorProperty -> Value Text
max :: ActuatorProperty -> Maybe (Value Double)
min :: ActuatorProperty -> Maybe (Value Double)
unit :: ActuatorProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
..}
= ActuatorProperty {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" ActuatorProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
..}
instance Property "FullyQualifiedName" ActuatorProperty where
type PropertyType "FullyQualifiedName" ActuatorProperty = Value Prelude.Text
set :: PropertyType "FullyQualifiedName" ActuatorProperty
-> ActuatorProperty -> ActuatorProperty
set PropertyType "FullyQualifiedName" ActuatorProperty
newValue ActuatorProperty {Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ActuatorProperty -> ()
allowedValues :: ActuatorProperty -> Maybe (ValueList Text)
assignedValue :: ActuatorProperty -> Maybe (Value Text)
dataType :: ActuatorProperty -> Value Text
description :: ActuatorProperty -> Maybe (Value Text)
fullyQualifiedName :: ActuatorProperty -> Value Text
max :: ActuatorProperty -> Maybe (Value Double)
min :: ActuatorProperty -> Maybe (Value Double)
unit :: ActuatorProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
..}
= ActuatorProperty {fullyQualifiedName :: Value Text
fullyQualifiedName = PropertyType "FullyQualifiedName" ActuatorProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
description :: Maybe (Value Text)
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
description :: Maybe (Value Text)
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
..}
instance Property "Max" ActuatorProperty where
type PropertyType "Max" ActuatorProperty = Value Prelude.Double
set :: PropertyType "Max" ActuatorProperty
-> ActuatorProperty -> ActuatorProperty
set PropertyType "Max" ActuatorProperty
newValue ActuatorProperty {Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ActuatorProperty -> ()
allowedValues :: ActuatorProperty -> Maybe (ValueList Text)
assignedValue :: ActuatorProperty -> Maybe (Value Text)
dataType :: ActuatorProperty -> Value Text
description :: ActuatorProperty -> Maybe (Value Text)
fullyQualifiedName :: ActuatorProperty -> Value Text
max :: ActuatorProperty -> Maybe (Value Double)
min :: ActuatorProperty -> Maybe (Value Double)
unit :: ActuatorProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
..}
= ActuatorProperty {max :: Maybe (Value Double)
max = Value Double -> Maybe (Value Double)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Max" ActuatorProperty
Value Double
newValue, Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
..}
instance Property "Min" ActuatorProperty where
type PropertyType "Min" ActuatorProperty = Value Prelude.Double
set :: PropertyType "Min" ActuatorProperty
-> ActuatorProperty -> ActuatorProperty
set PropertyType "Min" ActuatorProperty
newValue ActuatorProperty {Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ActuatorProperty -> ()
allowedValues :: ActuatorProperty -> Maybe (ValueList Text)
assignedValue :: ActuatorProperty -> Maybe (Value Text)
dataType :: ActuatorProperty -> Value Text
description :: ActuatorProperty -> Maybe (Value Text)
fullyQualifiedName :: ActuatorProperty -> Value Text
max :: ActuatorProperty -> Maybe (Value Double)
min :: ActuatorProperty -> Maybe (Value Double)
unit :: ActuatorProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
..}
= ActuatorProperty {min :: Maybe (Value Double)
min = Value Double -> Maybe (Value Double)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Min" ActuatorProperty
Value Double
newValue, Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
unit :: Maybe (Value Text)
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
unit :: Maybe (Value Text)
..}
instance Property "Unit" ActuatorProperty where
type PropertyType "Unit" ActuatorProperty = Value Prelude.Text
set :: PropertyType "Unit" ActuatorProperty
-> ActuatorProperty -> ActuatorProperty
set PropertyType "Unit" ActuatorProperty
newValue ActuatorProperty {Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ActuatorProperty -> ()
allowedValues :: ActuatorProperty -> Maybe (ValueList Text)
assignedValue :: ActuatorProperty -> Maybe (Value Text)
dataType :: ActuatorProperty -> Value Text
description :: ActuatorProperty -> Maybe (Value Text)
fullyQualifiedName :: ActuatorProperty -> Value Text
max :: ActuatorProperty -> Maybe (Value Double)
min :: ActuatorProperty -> Maybe (Value Double)
unit :: ActuatorProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
unit :: Maybe (Value Text)
..}
= ActuatorProperty {unit :: Maybe (Value Text)
unit = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Unit" ActuatorProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Double)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
haddock_workaround_ :: ()
allowedValues :: Maybe (ValueList Text)
assignedValue :: Maybe (Value Text)
dataType :: Value Text
description :: Maybe (Value Text)
fullyQualifiedName :: Value Text
max :: Maybe (Value Double)
min :: Maybe (Value Double)
..}