File

src/gsuite/tasks/task.model.ts

Properties

completed
completed: Date
Type : Date

Completion date of the task. This field is omitted if the task has not been completed.

deleted
deleted: void
Type : void

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

due
due: Date
Type : Date

Due date of the task. Optional.

etag
etag: void
Type : void

ETag of the resource.

hidden
hidden: void
Type : void

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: void
Type : void

Task identifier.

kind
kind: void
Type : void

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

links
links: Array
Type : Array

Collection of links. This collection is read-only.

notes
notes: void
Type : void

Notes describing the task. Optional.

parent
parent: void
Type : void

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: void
Type : void

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: void
Type : void

URL pointing to this task. Used to retrieve, update, or delete this task.

status
status: void
Type : void

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

title
title: void
Type : void

Title of the task.

updated
updated: Date
Type : Date

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>;
}

results matching ""

    No results matching ""