Builder

class Builder

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
var 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
var name: String?

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
var unit: String?

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

Functions

Link copied to clipboard