AssetModelPropertyDefinition

Contains an asset model property definition. This property definition is applied to all assets created from the asset model.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The data type of the property definition.

Link copied to clipboard

The data type of the structure for this property. This parameter is required on properties that have the STRUCT data type.

Link copied to clipboard

An external ID to assign to the property definition. The external ID must be unique among property definitions within this asset model. For more information, see Using external IDs in the IoT SiteWise User Guide.

Link copied to clipboard
val id: String?

The ID to assign to the asset model property, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.

Link copied to clipboard

The name of the property definition.

Link copied to clipboard

The property definition type (see PropertyType). You can only specify one type in a property definition.

Link copied to clipboard
val unit: String?

The unit of the property definition, such as Newtons or RPM.

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String