Module Values.AssetModelPropertySummarySource

Contains a summary of a property associated with a model. This includes information about which interfaces the property belongs to, if any.

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

    The ID of the property.

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

    The external ID of the 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. dataType : PropertyDataType.t option;
    (*

    The data type of the property.

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

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

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

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

    *)
  7. type_ : PropertyType.t option;
  8. assetModelCompositeModelId : ID.t option;
    (*

    The ID of the composite model that contains the asset model property.

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

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

    *)
  10. interfaceSummaries : InterfaceSummaries.t option;
    (*

    A list of interface summaries that describe which interfaces this property belongs to, including the interface asset model ID and the corresponding property ID in the interface.

    *)
}
Sourceval make : ?id:ID.t -> ?externalId:ExternalId.t -> ?name:Name.t -> ?dataType:PropertyDataType.t -> ?dataTypeSpec:Name.t -> ?unit:PropertyUnit.t -> ?type_:PropertyType.t -> ?assetModelCompositeModelId:ID.t -> ?path:AssetModelPropertyPath.t -> ?interfaceSummaries:InterfaceSummaries.t -> 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 * [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of VariableName.t | `Structure of (string * [> `List of [> `Structure of (string * [> `String of ID.t ]) list ] list | `String of Macro.t ]) list ]) list ] list | `String of DefaultValue.t | `Structure of (string * [> `Enum of string | `Structure of (string * [> `Enum of string | `String of Interval.t ]) list ]) list ]) list ]) 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