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 |
Returns all the authenticated user's task lists.
See: Tasks API Reference for tasks.tasklists.list
.
Synopsis
- type TaskListsListResource = "tasks" :> ("v1" :> ("users" :> ("@me" :> ("lists" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] TaskLists)))))))
- taskListsList :: TaskListsList
- data TaskListsList
- tllPageToken :: Lens' TaskListsList (Maybe Text)
- tllMaxResults :: Lens' TaskListsList (Maybe Int64)
REST Resource
type TaskListsListResource = "tasks" :> ("v1" :> ("users" :> ("@me" :> ("lists" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] TaskLists))))))) Source #
A resource alias for tasks.tasklists.list
method which the
TaskListsList
request conforms to.
Creating a Request
taskListsList :: TaskListsList Source #
Creates a value of TaskListsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TaskListsList Source #
Returns all the authenticated user's task lists.
See: taskListsList
smart constructor.
Instances
Request Lenses
tllPageToken :: Lens' TaskListsList (Maybe Text) Source #
Token specifying the result page to return. Optional.
tllMaxResults :: Lens' TaskListsList (Maybe Int64) Source #
Maximum number of task lists returned on one page. Optional. The default is 100.