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 |
Deletes the specified task from the task list.
See: Tasks API Reference for tasks.tasks.delete
.
Synopsis
- type TasksDeleteResource = "tasks" :> ("v1" :> ("lists" :> (Capture "tasklist" Text :> ("tasks" :> (Capture "task" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))
- tasksDelete :: Text -> Text -> TasksDelete
- data TasksDelete
- tdTaskList :: Lens' TasksDelete Text
- tdTask :: Lens' TasksDelete Text
REST Resource
type TasksDeleteResource = "tasks" :> ("v1" :> ("lists" :> (Capture "tasklist" Text :> ("tasks" :> (Capture "task" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))) Source #
A resource alias for tasks.tasks.delete
method which the
TasksDelete
request conforms to.
Creating a Request
:: Text | |
-> Text | |
-> TasksDelete |
Creates a value of TasksDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TasksDelete Source #
Deletes the specified task from the task list.
See: tasksDelete
smart constructor.
Instances
Request Lenses
tdTaskList :: Lens' TasksDelete Text Source #
Task list identifier.