package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Image : sig ... end
type t = {
  1. description : string;
    (*

    Potential name of the thumbnail.

    *)
  2. image : Image.t;
    (*

    Image resource.

    *)
  3. url : string;
    (*

    URL of the webpage containing the image.

    *)
}
val description : (t, string) GapiLens.t
val image : (t, Image.t) GapiLens.t
val url : (t, string) GapiLens.t
val empty : t
val render : t -> GapiJson.json_data_model list
val parse : t -> GapiJson.json_data_model -> t