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 authenticated user's specified task list.
See: Tasks API Reference for tasks.tasklists.update
.
Synopsis
- type TaskListsUpdateResource = "tasks" :> ("v1" :> ("users" :> ("@me" :> ("lists" :> (Capture "tasklist" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TaskList :> Put '[JSON] TaskList)))))))
- taskListsUpdate :: TaskList -> Text -> TaskListsUpdate
- data TaskListsUpdate
- tluPayload :: Lens' TaskListsUpdate TaskList
- tluTaskList :: Lens' TaskListsUpdate Text
REST Resource
type TaskListsUpdateResource = "tasks" :> ("v1" :> ("users" :> ("@me" :> ("lists" :> (Capture "tasklist" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TaskList :> Put '[JSON] TaskList))))))) Source #
A resource alias for tasks.tasklists.update
method which the
TaskListsUpdate
request conforms to.
Creating a Request
Creates a value of TaskListsUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TaskListsUpdate Source #
Updates the authenticated user's specified task list.
See: taskListsUpdate
smart constructor.
Instances
Request Lenses
tluPayload :: Lens' TaskListsUpdate TaskList Source #
Multipart request metadata.
tluTaskList :: Lens' TaskListsUpdate Text Source #
Task list identifier.