Module Values.ImageSource

Contains an image that is one of the following: An image file. Choose this option to upload a new image. The ID of an existing image. Choose this option to keep an existing image.

Sourcetype nonrec t = {
  1. id : ID.t option;
    (*

    The ID of an existing image. Specify this parameter to keep an existing image.

    *)
  2. file : ImageFile.t option;
}
Sourceval make : ?id:??? -> ?file:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ID.t | `Structure of (string * [> `Blob of ImageFileData.t | `Enum of string ]) list ]) 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