Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Attribute = Attribute' {
- allowedValues :: Maybe [Text]
- assignedValue :: Maybe Text
- defaultValue :: Maybe Text
- description :: Maybe Text
- max :: Maybe Double
- min :: Maybe Double
- unit :: Maybe Text
- fullyQualifiedName :: Text
- dataType :: NodeDataType
- newAttribute :: Text -> NodeDataType -> Attribute
- attribute_allowedValues :: Lens' Attribute (Maybe [Text])
- attribute_assignedValue :: Lens' Attribute (Maybe Text)
- attribute_defaultValue :: Lens' Attribute (Maybe Text)
- attribute_description :: Lens' Attribute (Maybe Text)
- attribute_max :: Lens' Attribute (Maybe Double)
- attribute_min :: Lens' Attribute (Maybe Double)
- attribute_unit :: Lens' Attribute (Maybe Text)
- attribute_fullyQualifiedName :: Lens' Attribute Text
- attribute_dataType :: Lens' Attribute NodeDataType
Documentation
A signal that represents static information about the vehicle, such as engine type or manufacturing date.
See: newAttribute
smart constructor.
Attribute' | |
|
Instances
Create a value of Attribute
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:allowedValues:Attribute'
, attribute_allowedValues
- A list of possible values an attribute can be assigned.
$sel:assignedValue:Attribute'
, attribute_assignedValue
- A specified value for the attribute.
$sel:defaultValue:Attribute'
, attribute_defaultValue
- The default value of the attribute.
$sel:description:Attribute'
, attribute_description
- A brief description of the attribute.
$sel:max:Attribute'
, attribute_max
- The specified possible maximum value of the attribute.
$sel:min:Attribute'
, attribute_min
- The specified possible minimum value of the attribute.
$sel:unit:Attribute'
, attribute_unit
- The scientific unit for the attribute.
$sel:fullyQualifiedName:Attribute'
, attribute_fullyQualifiedName
- The fully qualified name of the attribute. For example, the fully
qualified name of an attribute might be Vehicle.Body.Engine.Type
.
$sel:dataType:Attribute'
, attribute_dataType
- The specified data type of the attribute.
attribute_allowedValues :: Lens' Attribute (Maybe [Text]) Source #
A list of possible values an attribute can be assigned.
attribute_assignedValue :: Lens' Attribute (Maybe Text) Source #
A specified value for the attribute.
attribute_max :: Lens' Attribute (Maybe Double) Source #
The specified possible maximum value of the attribute.
attribute_min :: Lens' Attribute (Maybe Double) Source #
The specified possible minimum value of the attribute.
attribute_fullyQualifiedName :: Lens' Attribute Text Source #
The fully qualified name of the attribute. For example, the fully
qualified name of an attribute might be Vehicle.Body.Engine.Type
.
attribute_dataType :: Lens' Attribute NodeDataType Source #
The specified data type of the attribute.