package gapi-ocaml

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

    The title of this API.

    *)
  2. id : string;
    (*

    The id of this API.

    *)
  3. labels : string list;
    (*

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

    *)
  4. description : string;
    (*

    The description of this API.

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

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

    *)
  6. name : string;
    (*

    The name of the API.

    *)
  7. kind : string;
    (*

    The kind for this response.

    *)
  8. preferred : bool;
    (*

    True if this version is the preferred version to use.

    *)
  9. version : string;
    (*

    The version of the API.

    *)
  10. discoveryRestUrl : string;
    (*

    The URL for the discovery REST document.

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

Innovation. Community. Security.