Module Values.AssetPropertySource

Contains asset property information.

Sourcetype nonrec t = {
  1. id : ID.t option;
    (*

    The ID of the asset property.

    *)
  2. externalId : ExternalId.t option;
    (*

    The external ID of the asset property. For more information, see Using external IDs in the IoT SiteWise User Guide.

    *)
  3. name : Name.t option;
    (*

    The name of the property.

    *)
  4. alias : PropertyAlias.t option;
    (*

    The alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.

    *)
  5. notification : PropertyNotification.t option;
    (*

    The asset property's notification topic and state. For more information, see UpdateAssetProperty.

    *)
  6. dataType : PropertyDataType.t option;
    (*

    The data type of the asset property.

    *)
  7. dataTypeSpec : Name.t option;
    (*

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

    *)
  8. unit : PropertyUnit.t option;
    (*

    The unit (such as Newtons or RPM) of the asset property.

    *)
  9. path : AssetPropertyPath.t option;
    (*

    The structured path to the property from the root of the asset.

    *)
}
Sourceval make : ?id:??? -> ?externalId:??? -> ?name:??? -> ?alias:??? -> ?notification:??? -> ?dataType:??? -> ?dataTypeSpec:??? -> ?unit:??? -> ?path:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of ID.t ]) list ] list | `String of ID.t | `Structure of (string * [> `Enum of string | `String of PropertyNotificationTopic.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t