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 DataType = DataType' {}
- newDataType :: Type -> DataType
- dataType_allowedValues :: Lens' DataType (Maybe [DataValue])
- dataType_nestedType :: Lens' DataType (Maybe DataType)
- dataType_relationship :: Lens' DataType (Maybe Relationship)
- dataType_unitOfMeasure :: Lens' DataType (Maybe Text)
- dataType_type :: Lens' DataType Type
Documentation
An object that specifies the data type of a property.
See: newDataType
smart constructor.
DataType' | |
|
Instances
Create a value of DataType
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:DataType'
, dataType_allowedValues
- The allowed values for this data type.
$sel:nestedType:DataType'
, dataType_nestedType
- The nested type in the data type.
$sel:relationship:DataType'
, dataType_relationship
- A relationship that associates a component with another component.
$sel:unitOfMeasure:DataType'
, dataType_unitOfMeasure
- The unit of measure used in this data type.
$sel:type':DataType'
, dataType_type
- The underlying type of the data type.
dataType_allowedValues :: Lens' DataType (Maybe [DataValue]) Source #
The allowed values for this data type.
dataType_relationship :: Lens' DataType (Maybe Relationship) Source #
A relationship that associates a component with another component.