package gapi-ocaml

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

    The description of this API.

    *)
  2. discoveryRestUrl : string;
    (*

    The URL for the discovery REST document.

    *)
  3. icons : Icons.t;
    (*

    Links to 16x16 and 32x32 icons representing the API.

    *)
  4. id : string;
    (*

    The id of this API.

    *)
  5. kind : string;
    (*

    The kind for this response.

    *)
  6. labels : string list;
    (*

    Labels for the status of this API, such as labs or deprecated.

    *)
  7. name : string;
    (*

    The name of the API.

    *)
  8. preferred : bool;
    (*

    True if this version is the preferred version to use.

    *)
  9. title : string;
    (*

    The title of this API.

    *)
  10. version : string;
    (*

    The version of the API.

    *)
}
val description : (t, string) GapiLens.t
val discoveryRestUrl : (t, string) GapiLens.t
val icons : (t, Icons.t) GapiLens.t
val id : (t, string) GapiLens.t
val kind : (t, string) GapiLens.t
val labels : (t, string list) GapiLens.t
val name : (t, string) GapiLens.t
val preferred : (t, bool) GapiLens.t
val title : (t, string) GapiLens.t
val version : (t, string) GapiLens.t
val empty : t
val render : t -> GapiJson.json_data_model list
val parse : t -> GapiJson.json_data_model -> t