Module Values.BatchGetAssetPropertyValueHistoryEntrySource

Contains information for an asset property historical value entry that is associated with the BatchGetAssetPropertyValueHistory API. To identify an asset property, you must specify one of the following: The assetId and propertyId of an asset property. A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). To define an asset property's alias, see UpdateAssetProperty.

Sourcetype nonrec t = {
  1. entryId : EntryId.t;
    (*

    The ID of the entry.

    *)
  2. assetId : ID.t option;
    (*

    The ID of the asset in which the asset property was created.

    *)
  3. propertyId : ID.t option;
    (*

    The ID of the asset property, in UUID format.

    *)
  4. propertyAlias : AssetPropertyAlias.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. startDate : Timestamp.t option;
    (*

    The exclusive start of the range from which to query historical data, expressed in seconds in Unix epoch time.

    *)
  6. endDate : Timestamp.t option;
    (*

    The inclusive end of the range from which to query historical data, expressed in seconds in Unix epoch time.

    *)
  7. qualities : Qualities.t option;
    (*

    The quality by which to filter asset data.

    *)
  8. timeOrdering : TimeOrdering.t option;
    (*

    The chronological sorting order of the requested information. Default: ASCENDING

    *)
}
Sourceval context_ : string
Sourceval make : ?assetId:??? -> ?propertyId:??? -> ?propertyAlias:??? -> ?startDate:??? -> ?endDate:??? -> ?qualities:??? -> ?timeOrdering:??? -> entryId:EntryId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Enum of string ] list | `String of EntryId.t | `Timestamp of Timestamp.t ]) 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