Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
.
- type TasksClearResource = "tasks" :> ("v1" :> ("lists" :> (Capture "tasklist" Text :> ("clear" :> (QueryParam "alt" AltJSON :> Post '[JSON] ())))))
- tasksClear :: Text -> TasksClear
- data TasksClear
- tcTaskList :: Lens' TasksClear Text
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
:: Text | |
-> 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.
Eq TasksClear Source # | |
Data TasksClear Source # | |
Show TasksClear Source # | |
Generic TasksClear Source # | |
GoogleRequest TasksClear Source # | |
type Rep TasksClear Source # | |
type Scopes TasksClear Source # | |
type Rs TasksClear Source # | |
Request Lenses
tcTaskList :: Lens' TasksClear Text Source #
Task list identifier.