Module Values.AssetHierarchySource

Describes an asset hierarchy that contains a hierarchy's name and ID.

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

    The ID of the hierarchy. This ID is a hierarchyId.

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

    The external ID of the hierarchy, if it has one. When you update an asset hierarchy, you may assign an external ID if it doesn't already have one. You can't change the external ID of an asset hierarchy that already has one. For more information, see Using external IDs in the IoT SiteWise User Guide.

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

    The hierarchy name provided in the CreateAssetModel or UpdateAssetModel API operation.

    *)
}
Sourceval make : ?id:??? -> ?externalId:??? -> ?name:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ID.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