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