package gapi-ocaml

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

    Only present if valueType is dateString. RFC 3339 formatted date: YYYY-MM-DD.

    *)
  2. id : string;
    (*

    The identifier of this field.

    *)
  3. integer : int64 list;
    (*

    Only present if valueType is integer.

    *)
  4. kind : string;
    (*

    This is always drive#labelField.

    *)
  5. selection : string list;
    (*

    Only present if valueType is selection.

    *)
  6. text : string list;
    (*

    Only present if valueType is text.

    *)
  7. user : User.t list;
    (*

    Only present if valueType is user.

    *)
  8. valueType : string;
    (*

    The field type. While new values may be supported in the future, the following are currently allowed:

    • dateString
    • integer
    • selection
    • text
    • user
    *)
}
val dateString : (t, GapiDate.t list) GapiLens.t
val id : (t, string) GapiLens.t
val integer : (t, int64 list) GapiLens.t
val kind : (t, string) GapiLens.t
val selection : (t, string list) GapiLens.t
val text : (t, string list) GapiLens.t
val user : (t, User.t list) GapiLens.t
val valueType : (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
OCaml

Innovation. Community. Security.