package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. height : int;
    (*

    The height, in pixels, of the linked resource.

    *)
  2. _type : string;
    (*

    Media type of the link.

    *)
  3. url : string;
    (*

    Image url.

    *)
  4. width : int;
    (*

    The width, in pixels, of the linked resource.

    *)
}
val height : (t, int) GapiLens.t
val _type : (t, string) GapiLens.t
val url : (t, string) GapiLens.t
val width : (t, int) GapiLens.t
val empty : t
val render : t -> GapiJson.json_data_model list
val parse : t -> GapiJson.json_data_model -> t