package gapi-ocaml

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

    Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed.

    *)
  2. deleted : bool;
    (*

    Flag indicating whether the task has been deleted. The default if False.

    *)
  3. due : GapiDate.t;
    (*

    Due date of the task (as a RFC 3339 timestamp). Optional.

    *)
  4. etag : string;
    (*

    ETag of the resource.

    *)
  5. hidden : bool;
    (*

    Flag indicating whether the task is hidden. This is the case if the task had been marked completed when the task list was last cleared. The default is False. This field is read-only.

    *)
  6. id : string;
    (*

    Task identifier.

    *)
  7. kind : string;
    (*

    Type of the resource. This is always "tasks#task".

    *)
  8. notes : string;
    (*

    Notes describing the task. Optional.

    *)
  9. parent : string;
    (*

    Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the "move" method to move the task under a different parent or to the top level.

    *)
  10. position : string;
    (*

    String indicating the position of the task among its sibling tasks under the same parent task or at the top level. If this string is greater than another task's corresponding position string according to lexicographical ordering, the task is positioned after the other task under the same parent task (or at the top level). This field is read-only. Use the "move" method to move the task to another position.

    *)
  11. status : string;
    (*

    Status of the task. This is either "needsAction" or "completed".

    *)
  12. title : string;
    (*

    Title of the task.

    *)
  13. updated : GapiDate.t;
    (*

    Last modification time of the task (as a RFC 3339 timestamp).

    *)
}
val completed : (t, GapiDate.t) GapiLens.t
val deleted : (t, bool) GapiLens.t
val due : (t, GapiDate.t) GapiLens.t
val etag : (t, string) GapiLens.t
val hidden : (t, bool) GapiLens.t
val id : (t, string) GapiLens.t
val kind : (t, string) GapiLens.t
val notes : (t, string) GapiLens.t
val parent : (t, string) GapiLens.t
val position : (t, string) GapiLens.t
val status : (t, string) GapiLens.t
val title : (t, string) GapiLens.t
val updated : (t, GapiDate.t) 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.