Module Values.UpdateResourcePositionRequestSource

Update the position information of a given wireless device or a wireless gateway resource. The position coordinates are based on the World Geodetic System (WGS84).

Sourcetype nonrec t = {
  1. resourceIdentifier : PositionResourceIdentifier.t;
    (*

    The identifier of the resource for which position information is updated. It can be the wireless device ID or the wireless gateway ID, depending on the resource type.

    *)
  2. resourceType : PositionResourceType.t;
    (*

    The type of resource for which position information is updated, which can be a wireless device or a wireless gateway.

    *)
  3. geoJsonPayload : GeoJsonPayload.t option;
    (*

    The position information of the resource, displayed as a JSON payload. The payload uses the GeoJSON format, which a format that's used to encode geographic data structures. For more information, see GeoJSON.

    *)
}
Sourceval context_ : string
Sourceval make : ?geoJsonPayload:??? -> resourceIdentifier:PositionResourceIdentifier.t -> resourceType:PositionResourceType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Blob of GeoJsonPayload.t | `Enum of string | `String of PositionResourceIdentifier.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