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.TaskLists.Update

Contents

Description

Updates the authenticated user's specified task list.

See: Tasks API Reference for tasks.tasklists.update.

Synopsis

REST Resource

type TaskListsUpdateResource = "tasks" :> ("v1" :> ("users" :> ("@me" :> ("lists" :> (Capture "tasklist" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TaskList :> Put '[JSON] TaskList))))))) Source #

A resource alias for tasks.tasklists.update method which the TaskListsUpdate request conforms to.

Creating a Request

taskListsUpdate Source #

Creates a value of TaskListsUpdate with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data TaskListsUpdate Source #

Updates the authenticated user's specified task list.

See: taskListsUpdate smart constructor.

Instances
Eq TaskListsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Tasks.TaskLists.Update

Data TaskListsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Tasks.TaskLists.Update

Methods

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

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

toConstr :: TaskListsUpdate -> Constr #

dataTypeOf :: TaskListsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TaskListsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Tasks.TaskLists.Update

Generic TaskListsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Tasks.TaskLists.Update

Associated Types

type Rep TaskListsUpdate :: Type -> Type #

GoogleRequest TaskListsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Tasks.TaskLists.Update

Associated Types

type Rs TaskListsUpdate :: Type #

type Scopes TaskListsUpdate :: [Symbol] #

type Rep TaskListsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Tasks.TaskLists.Update

type Rep TaskListsUpdate = D1 (MetaData "TaskListsUpdate" "Network.Google.Resource.Tasks.TaskLists.Update" "gogol-apps-tasks-0.4.0-CNAH5hnYqRXH4ZXCEmJhMf" False) (C1 (MetaCons "TaskListsUpdate'" PrefixI True) (S1 (MetaSel (Just "_tluPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TaskList) :*: S1 (MetaSel (Just "_tluTaskList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes TaskListsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Tasks.TaskLists.Update

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

Defined in Network.Google.Resource.Tasks.TaskLists.Update

Request Lenses

tluPayload :: Lens' TaskListsUpdate TaskList Source #

Multipart request metadata.

tluTaskList :: Lens' TaskListsUpdate Text Source #

Task list identifier.