Module Values_0.AttachmentContentSource

A structure that includes attributes that describe a document attachment.

Sourcetype nonrec t = {
  1. name : AttachmentName.t option;
    (*

    The name of an attachment.

    *)
  2. size : ContentLength.t option;
    (*

    The size of an attachment in bytes.

    *)
  3. hash : AttachmentHash.t option;
    (*

    The cryptographic hash value of the document content.

    *)
  4. hashType : AttachmentHashType.t option;
    (*

    The hash algorithm used to calculate the hash value.

    *)
  5. url : AttachmentUrl.t option;
    (*

    The URL location of the attachment content.

    *)
}
Sourceval make : ?name:??? -> ?size:??? -> ?hash:??? -> ?hashType:??? -> ?url:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Long of ContentLength.t | `String of AttachmentName.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