gogol-apps-tasks-0.0.1: Google Tasks SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Tasks.Tasks.Move

Contents

Description

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.

Synopsis

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

tasksMove Source

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:

data TasksMove Source

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.

Request Lenses

tmParent :: Lens' TasksMove (Maybe Text) Source

New parent task identifier. If the task is moved to the top level, this parameter is omitted. Optional.

tmTaskList :: Lens' TasksMove Text Source

Task list identifier.

tmTask :: Lens' TasksMove Text Source

Task identifier.

tmPrevious :: Lens' TasksMove (Maybe Text) Source

New previous sibling task identifier. If the task is moved to the first position among its siblings, this parameter is omitted. Optional.