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