Module Values.ByteContentDocSource

Contains information about content defined inline in bytes.

Sourcetype nonrec t = {
  1. mimeType : ByteContentDocMimeTypeString.t;
    (*

    The MIME type of the content. For a list of MIME types, see Media Types. The following MIME types are supported: text/plain text/html text/csv text/vtt message/rfc822 application/xhtml+xml application/pdf application/msword application/vnd.ms-word.document.macroenabled.12 application/vnd.ms-word.template.macroenabled.12 application/vnd.ms-excel application/vnd.ms-excel.addin.macroenabled.12 application/vnd.ms-excel.sheet.macroenabled.12 application/vnd.ms-excel.template.macroenabled.12 application/vnd.ms-excel.sheet.binary.macroenabled.12 application/vnd.ms-spreadsheetml application/vnd.openxmlformats-officedocument.spreadsheetml.sheet application/vnd.openxmlformats-officedocument.spreadsheetml.template application/vnd.openxmlformats-officedocument.wordprocessingml.document application/vnd.openxmlformats-officedocument.wordprocessingml.template

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

    The base64-encoded string of the content.

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