package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. items : Profile.t list;
    (*

    A list of views (profiles).

    *)
  2. itemsPerPage : int;
    (*

    The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.

    *)
  3. kind : string;
    (*

    Collection type.

    *)
  4. startIndex : int;
    (*

    The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.

    *)
  5. totalResults : int;
    (*

    The total number of results for the query, regardless of the number of results in the response.

    *)
  6. username : string;
    (*

    Email ID of the authenticated user

    *)
}
val items : (t, Profile.t list) GapiLens.t
val itemsPerPage : (t, int) GapiLens.t
val kind : (t, string) GapiLens.t
val startIndex : (t, int) GapiLens.t
val totalResults : (t, int) GapiLens.t
val username : (t, string) 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