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