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

Copyright(c) 2015-2016 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.

Instances
Eq TasksMove Source # 
Instance details

Defined in Network.Google.Resource.Tasks.Tasks.Move

Data TasksMove Source # 
Instance details

Defined in Network.Google.Resource.Tasks.Tasks.Move

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TasksMove -> c TasksMove #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TasksMove #

toConstr :: TasksMove -> Constr #

dataTypeOf :: TasksMove -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TasksMove) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TasksMove) #

gmapT :: (forall b. Data b => b -> b) -> TasksMove -> TasksMove #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TasksMove -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TasksMove -> r #

gmapQ :: (forall d. Data d => d -> u) -> TasksMove -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TasksMove -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TasksMove -> m TasksMove #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TasksMove -> m TasksMove #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TasksMove -> m TasksMove #

Show TasksMove Source # 
Instance details

Defined in Network.Google.Resource.Tasks.Tasks.Move

Generic TasksMove Source # 
Instance details

Defined in Network.Google.Resource.Tasks.Tasks.Move

Associated Types

type Rep TasksMove :: Type -> Type #

GoogleRequest TasksMove Source # 
Instance details

Defined in Network.Google.Resource.Tasks.Tasks.Move

Associated Types

type Rs TasksMove :: Type #

type Scopes TasksMove :: [Symbol] #

type Rep TasksMove Source # 
Instance details

Defined in Network.Google.Resource.Tasks.Tasks.Move

type Rep TasksMove = D1 (MetaData "TasksMove" "Network.Google.Resource.Tasks.Tasks.Move" "gogol-apps-tasks-0.4.0-CNAH5hnYqRXH4ZXCEmJhMf" False) (C1 (MetaCons "TasksMove'" PrefixI True) ((S1 (MetaSel (Just "_tmParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tmTaskList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_tmTask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_tmPrevious") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Scopes TasksMove Source # 
Instance details

Defined in Network.Google.Resource.Tasks.Tasks.Move

type Scopes TasksMove = "https://www.googleapis.com/auth/tasks" ': ([] :: [Symbol])
type Rs TasksMove Source # 
Instance details

Defined in Network.Google.Resource.Tasks.Tasks.Move

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.