package gapi-ocaml

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

    Authentication information.

    *)
  2. basePath : string;
    (*

    [DEPRECATED] The base path for REST requests.

    *)
  3. baseUrl : string;
    (*

    [DEPRECATED] The base URL for REST requests.

    *)
  4. batchPath : string;
    (*

    The path for REST batch requests.

    *)
  5. canonicalName : string;
    (*

    Indicates how the API name should be capitalized and split into various parts. Useful for generating pretty class names.

    *)
  6. description : string;
    (*

    The description of this API.

    *)
  7. discoveryVersion : string;
    (*

    Indicate the version of the Discovery API used to generate this doc.

    *)
  8. etag : string;
    (*

    The ETag for this response.

    *)
  9. exponentialBackoffDefault : bool;
    (*

    Enable exponential backoff for suitable methods in the generated clients.

    *)
  10. features : string list;
    (*

    A list of supported features for this API.

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

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

    *)
  12. id : string;
    (*

    The ID of this API.

    *)
  13. kind : string;
    (*

    The kind for this response.

    *)
  14. labels : string list;
    (*

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

    *)
  15. methods : (string * RestMethod.t) list;
    (*

    API-level methods for this API.

    *)
  16. name : string;
    (*

    The name of this API.

    *)
  17. ownerDomain : string;
    (*

    The domain of the owner of this API. Together with the ownerName and a packagePath values, this can be used to generate a library for this API which would have a unique fully qualified name.

    *)
  18. ownerName : string;
    (*

    The name of the owner of this API. See ownerDomain.

    *)
  19. packagePath : string;
    (*

    The package of the owner of this API. See ownerDomain.

    *)
  20. parameters : (string * JsonSchema.t) list;
    (*

    Common parameters that apply across all apis.

    *)
  21. protocol : string;
    (*

    The protocol described by this document.

    *)
  22. resources : (string * RestResource.t) list;
    (*

    The resources in this API.

    *)
  23. revision : string;
    (*

    The version of this API.

    *)
  24. rootUrl : string;
    (*

    The root URL under which all API services live.

    *)
  25. schemas : (string * JsonSchema.t) list;
    (*

    The schemas for this API.

    *)
  26. servicePath : string;
    (*

    The base path for all REST requests.

    *)
  27. title : string;
    (*

    The title of this API.

    *)
  28. version : string;
    (*

    The version of this API.

    *)
  29. version_module : bool;
}
val auth : (t, Auth.t) GapiLens.t
val basePath : (t, string) GapiLens.t
val baseUrl : (t, string) GapiLens.t
val batchPath : (t, string) GapiLens.t
val canonicalName : (t, string) GapiLens.t
val description : (t, string) GapiLens.t
val discoveryVersion : (t, string) GapiLens.t
val etag : (t, string) GapiLens.t
val exponentialBackoffDefault : (t, bool) GapiLens.t
val features : (t, string list) 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 methods : (t, (string * RestMethod.t) list) GapiLens.t
val name : (t, string) GapiLens.t
val ownerDomain : (t, string) GapiLens.t
val ownerName : (t, string) GapiLens.t
val packagePath : (t, string) GapiLens.t
val parameters : (t, (string * JsonSchema.t) list) GapiLens.t
val protocol : (t, string) GapiLens.t
val resources : (t, (string * RestResource.t) list) GapiLens.t
val revision : (t, string) GapiLens.t
val rootUrl : (t, string) GapiLens.t
val schemas : (t, (string * JsonSchema.t) list) GapiLens.t
val servicePath : (t, string) GapiLens.t
val title : (t, string) GapiLens.t
val version : (t, string) GapiLens.t
val version_module : (t, bool) GapiLens.t
val empty : t
val render : t -> GapiJson.json_data_model list
val parse : t -> GapiJson.json_data_model -> t
val to_data_model : t -> GapiJson.json_data_model
val of_data_model : GapiJson.json_data_model -> t
OCaml

Innovation. Community. Security.