Module GapiTasksV1Model.Task
module Links : sig ... end
type t
=
{
completed : GapiDate.t;
Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed.
deleted : bool;
Flag indicating whether the task has been deleted. The default if False.
due : GapiDate.t;
Due date of the task (as a RFC 3339 timestamp). Optional.
etag : string;
ETag of the resource.
id : string;
Task identifier.
kind : string;
Type of the resource. This is always "tasks#task".
links : Links.t list;
Collection of links. This collection is read-only.
notes : string;
Notes describing the task. Optional.
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.
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.
selfLink : string;
URL pointing to this task. Used to retrieve, update, or delete this task.
status : string;
Status of the task. This is either "needsAction" or "completed".
title : string;
Title of the task.
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 id : (t, string) GapiLens.t
val kind : (t, string) GapiLens.t
val links : (t, Links.t list) GapiLens.t
val notes : (t, string) GapiLens.t
val parent : (t, string) GapiLens.t
val position : (t, string) GapiLens.t
val selfLink : (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