Module Values.AssetStatusSource

Contains information about the current status of an asset. For more information, see Asset and model states in the IoT SiteWise User Guide.

Sourcetype nonrec t = {
  1. state : AssetState.t option;
    (*

    The current status of the asset.

    *)
  2. error : ErrorDetails.t option;
    (*

    Contains associated error information, if any.

    *)
}
Sourceval make : ?state:??? -> ?error:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `String of DetailedErrorMessage.t ]) list ] list | `String of ErrorMessage.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