AssetPropertyVariant

Contains an asset property value (of a single type).

Inheritors

Types

Link copied to clipboard
data class BooleanValue(val value: String) : AssetPropertyVariant

Optional. A string that contains the boolean value (true or false) of the value entry. Accepts substitution templates.

Link copied to clipboard
data class DoubleValue(val value: String) : AssetPropertyVariant

Optional. A string that contains the double value of the value entry. Accepts substitution templates.

Link copied to clipboard
data class IntegerValue(val value: String) : AssetPropertyVariant

Optional. A string that contains the integer value of the value entry. Accepts substitution templates.

Link copied to clipboard
Link copied to clipboard
data class StringValue(val value: String) : AssetPropertyVariant

Optional. The string value of the value entry. Accepts substitution templates.

Functions

Link copied to clipboard

Casts this AssetPropertyVariant as a BooleanValue and retrieves its kotlin.String value. Throws an exception if the AssetPropertyVariant is not a BooleanValue.

Link copied to clipboard

Casts this AssetPropertyVariant as a BooleanValue and retrieves its kotlin.String value. Returns null if the AssetPropertyVariant is not a BooleanValue.

Link copied to clipboard

Casts this AssetPropertyVariant as a DoubleValue and retrieves its kotlin.String value. Throws an exception if the AssetPropertyVariant is not a DoubleValue.

Link copied to clipboard

Casts this AssetPropertyVariant as a DoubleValue and retrieves its kotlin.String value. Returns null if the AssetPropertyVariant is not a DoubleValue.

Link copied to clipboard

Casts this AssetPropertyVariant as a IntegerValue and retrieves its kotlin.String value. Throws an exception if the AssetPropertyVariant is not a IntegerValue.

Link copied to clipboard

Casts this AssetPropertyVariant as a IntegerValue and retrieves its kotlin.String value. Returns null if the AssetPropertyVariant is not a IntegerValue.

Link copied to clipboard

Casts this AssetPropertyVariant as a StringValue and retrieves its kotlin.String value. Throws an exception if the AssetPropertyVariant is not a StringValue.

Link copied to clipboard

Casts this AssetPropertyVariant as a StringValue and retrieves its kotlin.String value. Returns null if the AssetPropertyVariant is not a StringValue.