src/gsuite/tasks/task.model.ts
completed |
completed: |
Type : Date
|
Defined in src/gsuite/tasks/task.model.ts:55
|
Completion date of the task. This field is omitted if the task has not been completed. |
deleted |
deleted: |
Type : void
|
Defined in src/gsuite/tasks/task.model.ts:59
|
Flag indicating whether the task has been deleted. The default if False. |
due |
due: |
Type : Date
|
Defined in src/gsuite/tasks/task.model.ts:51
|
Due date of the task. Optional. |
etag |
etag: |
Type : void
|
Defined in src/gsuite/tasks/task.model.ts:15
|
ETag of the resource. |
hidden |
hidden: |
Type : void
|
Defined in src/gsuite/tasks/task.model.ts:64
|
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 |
id: |
Type : void
|
Defined in src/gsuite/tasks/task.model.ts:11
|
Task identifier. |
kind |
kind: |
Type : void
|
Defined in src/gsuite/tasks/task.model.ts:7
|
Type of the resource. This is always "tasks#task". |
links |
links: |
Type : Array
|
Defined in src/gsuite/tasks/task.model.ts:68
|
Collection of links. This collection is read-only. |
notes |
notes: |
Type : void
|
Defined in src/gsuite/tasks/task.model.ts:43
|
Notes describing the task. Optional. |
parent |
parent: |
Type : void
|
Defined in src/gsuite/tasks/task.model.ts:32
|
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 |
position: |
Type : void
|
Defined in src/gsuite/tasks/task.model.ts:39
|
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 |
selfLink: |
Type : void
|
Defined in src/gsuite/tasks/task.model.ts:27
|
URL pointing to this task. Used to retrieve, update, or delete this task. |
status |
status: |
Type : void
|
Defined in src/gsuite/tasks/task.model.ts:47
|
Status of the task. This is either "needsAction" or "completed". |
title |
title: |
Type : void
|
Defined in src/gsuite/tasks/task.model.ts:19
|
Title of the task. |
updated |
updated: |
Type : Date
|
Defined in src/gsuite/tasks/task.model.ts:23
|
Last modification time of the task. |
import {TaskLink} from "./task-link.model";
export interface Task {
/**
* Type of the resource. This is always "tasks#task".
*/
kind: string;
/**
* Task identifier.
*/
id: string;
/**
* ETag of the resource.
*/
etag: string;
/**
* Title of the task.
*/
title: string;
/**
* Last modification time of the task.
*/
updated: Date;
/**
* URL pointing to this task. Used to retrieve, update, or delete this task.
*/
selfLink: 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.
*/
parent: 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.
*/
position: string;
/**
* Notes describing the task. Optional.
*/
notes: string;
/**
* Status of the task. This is either "needsAction" or "completed".
*/
status: string;
/**
* Due date of the task. Optional.
*/
due: Date;
/**
* Completion date of the task. This field is omitted if the task has not been completed.
*/
completed: Date;
/**
* Flag indicating whether the task has been deleted. The default if False.
*/
deleted: boolean;
/**
* 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.
*/
hidden: boolean;
/**
* Collection of links. This collection is read-only.
*/
links: Array<TaskLink>;
}