Module Values_0.CommandPayloadSource

The command payload object that contains the instructions for the device to process.

Sourcetype nonrec t = {
  1. content : CommandPayloadBlob.t option;
    (*

    The static payload file for the command.

    *)
  2. contentType : MimeType.t option;
    (*

    The content type that specifies the format type of the payload file. This field must use a type/subtype format, such as application/json. For information about various content types, see Common MIME types.

    *)
}
Sourceval make : ?content:??? -> ?contentType:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Blob of CommandPayloadBlob.t | `String of MimeType.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