package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module GapiDriveV3Model.LabelFieldSource

Sourcetype t = {
  1. kind : string;
    (*

    This is always drive#labelField.

    *)
  2. id : string;
    (*

    The identifier of this label field.

    *)
  3. valueType : string;
    (*

    The field type. While new values may be supported in the future, the following are currently allowed: * `dateString` * `integer` * `selection` * `text` * `user`

    *)
  4. dateString : GapiDate.t list;
    (*

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

    *)
  5. integer : int64 list;
    (*

    Only present if `valueType` is `integer`.

    *)
  6. selection : string list;
    (*

    Only present if `valueType` is `selection`

    *)
  7. text : string list;
    (*

    Only present if `valueType` is `text`.

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

    Only present if `valueType` is `user`.

    *)
}
Sourceval kind : (t, string) GapiLens.t
Sourceval id : (t, string) GapiLens.t
Sourceval valueType : (t, string) GapiLens.t
Sourceval dateString : (t, GapiDate.t list) GapiLens.t
Sourceval integer : (t, int64 list) GapiLens.t
Sourceval selection : (t, string list) GapiLens.t
Sourceval text : (t, string list) GapiLens.t
Sourceval user : (t, User.t list) GapiLens.t
Sourceval empty : t
Sourceval render : t -> GapiJson.json_data_model list
Sourceval to_data_model : t -> GapiJson.json_data_model
Sourceval of_data_model : GapiJson.json_data_model -> t