| 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 |
Network.Google.Resource.Tasks.TaskLists.Insert
Description
Creates a new task list and adds it to the authenticated user's task lists.
See: Tasks API Reference for tasks.tasklists.insert.
Synopsis
- type TaskListsInsertResource = "tasks" :> ("v1" :> ("users" :> ("@me" :> ("lists" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TaskList :> Post '[JSON] TaskList))))))
- taskListsInsert :: TaskList -> TaskListsInsert
- data TaskListsInsert
- tliPayload :: Lens' TaskListsInsert TaskList
REST Resource
type TaskListsInsertResource = "tasks" :> ("v1" :> ("users" :> ("@me" :> ("lists" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TaskList :> Post '[JSON] TaskList)))))) Source #
A resource alias for tasks.tasklists.insert method which the
TaskListsInsert request conforms to.
Creating a Request
Arguments
| :: TaskList | |
| -> TaskListsInsert |
Creates a value of TaskListsInsert with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TaskListsInsert Source #
Creates a new task list and adds it to the authenticated user's task lists.
See: taskListsInsert smart constructor.
Instances
Request Lenses
tliPayload :: Lens' TaskListsInsert TaskList Source #
Multipart request metadata.