gogol-apps-tasks-0.0.1: Google Tasks SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Tasks.Tasks.Clear

Contents

Description

Clears all completed tasks from the specified task list. The affected tasks will be marked as 'hidden' and no longer be returned by default when retrieving all tasks for a task list.

See: Tasks API Reference for tasks.tasks.clear.

Synopsis

REST Resource

type TasksClearResource = "tasks" :> ("v1" :> ("lists" :> (Capture "tasklist" Text :> ("clear" :> (QueryParam "alt" AltJSON :> Post `[JSON]` ()))))) Source

A resource alias for tasks.tasks.clear method which the TasksClear request conforms to.

Creating a Request

tasksClear Source

Arguments

:: Text

tcTaskList

-> TasksClear 

Creates a value of TasksClear with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data TasksClear Source

Clears all completed tasks from the specified task list. The affected tasks will be marked as 'hidden' and no longer be returned by default when retrieving all tasks for a task list.

See: tasksClear smart constructor.

Request Lenses

tcTaskList :: Lens' TasksClear Text Source

Task list identifier.