AssetPropertyVariant
Contains an asset property value (of a single type).
Inheritors
Types
Optional. A string that contains the boolean value (true
or false
) of the value entry. Accepts substitution templates.
Optional. A string that contains the double value of the value entry. Accepts substitution templates.
Optional. A string that contains the integer value of the value entry. Accepts substitution templates.
Optional. The string value of the value entry. Accepts substitution templates.
Functions
Casts this AssetPropertyVariant as a BooleanValue and retrieves its kotlin.String value. Throws an exception if the AssetPropertyVariant is not a BooleanValue.
Casts this AssetPropertyVariant as a BooleanValue and retrieves its kotlin.String value. Returns null if the AssetPropertyVariant is not a BooleanValue.
Casts this AssetPropertyVariant as a DoubleValue and retrieves its kotlin.String value. Throws an exception if the AssetPropertyVariant is not a DoubleValue.
Casts this AssetPropertyVariant as a DoubleValue and retrieves its kotlin.String value. Returns null if the AssetPropertyVariant is not a DoubleValue.
Casts this AssetPropertyVariant as a IntegerValue and retrieves its kotlin.String value. Throws an exception if the AssetPropertyVariant is not a IntegerValue.
Casts this AssetPropertyVariant as a IntegerValue and retrieves its kotlin.String value. Returns null if the AssetPropertyVariant is not a IntegerValue.
Casts this AssetPropertyVariant as a StringValue and retrieves its kotlin.String value. Throws an exception if the AssetPropertyVariant is not a StringValue.
Casts this AssetPropertyVariant as a StringValue and retrieves its kotlin.String value. Returns null if the AssetPropertyVariant is not a StringValue.