Module Values.ByteContentDocSource

Contains the document contained in the wrapper object, along with its attributes/fields.

Sourcetype nonrec t = {
  1. identifier : Identifier.t;
    (*

    The file name of the document contained in the wrapper object.

    *)
  2. contentType : ContentType.t;
    (*

    The MIME type of the document contained in the wrapper object.

    *)
  3. data : ByteContentBlob.t;
    (*

    The byte value of the file to upload, encoded as a Base-64 string.

    *)
}
Sourceval context_ : string
Sourceval make : identifier:Identifier.t -> contentType:ContentType.t -> data:ByteContentBlob.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Blob of ByteContentBlob.t | `String of Identifier.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