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 |
Moves the specified task to another position in the task list. This can include putting it as a child task under a new parent and/or move it to a different position among its sibling tasks.
See: Tasks API Reference for tasks.tasks.move
.
- type TasksMoveResource = "tasks" :> ("v1" :> ("lists" :> (Capture "tasklist" Text :> ("tasks" :> (Capture "task" Text :> ("move" :> (QueryParam "parent" Text :> (QueryParam "previous" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] Task)))))))))
- tasksMove :: Text -> Text -> TasksMove
- data TasksMove
- tmParent :: Lens' TasksMove (Maybe Text)
- tmTaskList :: Lens' TasksMove Text
- tmTask :: Lens' TasksMove Text
- tmPrevious :: Lens' TasksMove (Maybe Text)
REST Resource
type TasksMoveResource = "tasks" :> ("v1" :> ("lists" :> (Capture "tasklist" Text :> ("tasks" :> (Capture "task" Text :> ("move" :> (QueryParam "parent" Text :> (QueryParam "previous" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] Task))))))))) Source #
A resource alias for tasks.tasks.move
method which the
TasksMove
request conforms to.
Creating a Request
Creates a value of TasksMove
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Moves the specified task to another position in the task list. This can include putting it as a child task under a new parent and/or move it to a different position among its sibling tasks.
See: tasksMove
smart constructor.