Skip to content

AssetPropertyVariant

Source code in docs_src/capo_iot_events/types/asset_property_variant.py
class AssetPropertyVariant(TypedDict, closed=True):
    string_value: NotRequired[
        "capo_iot_events.types.asset_property_string_value.AssetPropertyStringValue"
    ]
    """<p>The asset property value is a string. You must use an expression, and the evaluated result should be a string.</p>"""
    integer_value: NotRequired[
        "capo_iot_events.types.asset_property_integer_value.AssetPropertyIntegerValue"
    ]
    """<p>The asset property value is an integer. You must use an expression, and the evaluated result should be an integer.</p>"""
    double_value: NotRequired[
        "capo_iot_events.types.asset_property_double_value.AssetPropertyDoubleValue"
    ]
    """<p>The asset property value is a double. You must use an expression, and the evaluated result should be a double.</p>"""
    boolean_value: NotRequired[
        "capo_iot_events.types.asset_property_boolean_value.AssetPropertyBooleanValue"
    ]
    """<p>The asset property value is a Boolean value that must be <code>'TRUE'</code> or <code>'FALSE'</code>. You must use an expression, and the evaluated result should be a Boolean value.</p>"""

boolean_value instance-attribute

boolean_value: NotRequired[AssetPropertyBooleanValue]

The asset property value is a Boolean value that must be 'TRUE' or 'FALSE'. You must use an expression, and the evaluated result should be a Boolean value.

double_value instance-attribute

double_value: NotRequired[AssetPropertyDoubleValue]

The asset property value is a double. You must use an expression, and the evaluated result should be a double.

integer_value instance-attribute

integer_value: NotRequired[AssetPropertyIntegerValue]

The asset property value is an integer. You must use an expression, and the evaluated result should be an integer.

string_value instance-attribute

string_value: NotRequired[AssetPropertyStringValue]

The asset property value is a string. You must use an expression, and the evaluated result should be a string.