Skip to content

DataType

Source code in docs_src/capo_iottwinmaker/types/data_type.py
class DataType(TypedDict, closed=True):
    type: "capo_iottwinmaker.types.type.Type"
    """<p>The underlying type of the data type.</p>"""
    nested_type: NotRequired["capo_iottwinmaker.types.data_type.DataType"]
    """<p>The nested type in the data type.</p>"""
    allowed_values: NotRequired["capo_iottwinmaker.types.data_value_list.DataValueList"]
    """<p>The allowed values for this data type.</p>"""
    unit_of_measure: NotRequired["capo_iottwinmaker.types.string.String"]
    """<p>The unit of measure used in this data type.</p>"""
    relationship: NotRequired["capo_iottwinmaker.types.relationship.Relationship"]
    """<p>A relationship that associates a component with another component.</p>"""

allowed_values instance-attribute

allowed_values: NotRequired[DataValueList]

The allowed values for this data type.

nested_type instance-attribute

nested_type: NotRequired[DataType]

The nested type in the data type.

relationship instance-attribute

relationship: NotRequired[Relationship]

A relationship that associates a component with another component.

type instance-attribute

type: Type

The underlying type of the data type.

unit_of_measure instance-attribute

unit_of_measure: NotRequired[String]

The unit of measure used in this data type.