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 tasks in the specified task list.
See: Tasks API Reference for tasks.tasks.list
.
Synopsis
- type TasksListResource = "tasks" :> ("v1" :> ("lists" :> (Capture "tasklist" Text :> ("tasks" :> (QueryParam "dueMax" Text :> (QueryParam "showDeleted" Bool :> (QueryParam "showCompleted" Bool :> (QueryParam "dueMin" Text :> (QueryParam "showHidden" Bool :> (QueryParam "completedMax" Text :> (QueryParam "updatedMin" Text :> (QueryParam "completedMin" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] Tasks)))))))))))))))
- tasksList :: Text -> TasksList
- data TasksList
- tlDueMax :: Lens' TasksList (Maybe Text)
- tlShowDeleted :: Lens' TasksList (Maybe Bool)
- tlShowCompleted :: Lens' TasksList (Maybe Bool)
- tlDueMin :: Lens' TasksList (Maybe Text)
- tlShowHidden :: Lens' TasksList (Maybe Bool)
- tlCompletedMax :: Lens' TasksList (Maybe Text)
- tlUpdatedMin :: Lens' TasksList (Maybe Text)
- tlTaskList :: Lens' TasksList Text
- tlCompletedMin :: Lens' TasksList (Maybe Text)
- tlPageToken :: Lens' TasksList (Maybe Text)
- tlMaxResults :: Lens' TasksList (Maybe Int64)
REST Resource
type TasksListResource = "tasks" :> ("v1" :> ("lists" :> (Capture "tasklist" Text :> ("tasks" :> (QueryParam "dueMax" Text :> (QueryParam "showDeleted" Bool :> (QueryParam "showCompleted" Bool :> (QueryParam "dueMin" Text :> (QueryParam "showHidden" Bool :> (QueryParam "completedMax" Text :> (QueryParam "updatedMin" Text :> (QueryParam "completedMin" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] Tasks))))))))))))))) Source #
A resource alias for tasks.tasks.list
method which the
TasksList
request conforms to.
Creating a Request
Creates a value of TasksList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Returns all tasks in the specified task list.
See: tasksList
smart constructor.
Instances
Request Lenses
tlDueMax :: Lens' TasksList (Maybe Text) Source #
Upper bound for a task's due date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by due date.
tlShowDeleted :: Lens' TasksList (Maybe Bool) Source #
Flag indicating whether deleted tasks are returned in the result. Optional. The default is False.
tlShowCompleted :: Lens' TasksList (Maybe Bool) Source #
Flag indicating whether completed tasks are returned in the result. Optional. The default is True.
tlDueMin :: Lens' TasksList (Maybe Text) Source #
Lower bound for a task's due date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by due date.
tlShowHidden :: Lens' TasksList (Maybe Bool) Source #
Flag indicating whether hidden tasks are returned in the result. Optional. The default is False.
tlCompletedMax :: Lens' TasksList (Maybe Text) Source #
Upper bound for a task's completion date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by completion date.
tlUpdatedMin :: Lens' TasksList (Maybe Text) Source #
Lower bound for a task's last modification time (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by last modification time.
tlCompletedMin :: Lens' TasksList (Maybe Text) Source #
Lower bound for a task's completion date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by completion date.