Module GapiTasksV1Model.Task

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.

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.

id : string;

Task identifier.

kind : string;

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

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.

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 : (tGapiDate.t) GapiLens.t
val deleted : (t, bool) GapiLens.t
val due : (tGapiDate.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 : (tGapiDate.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