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.Patch

Contents

Description

Updates the authenticated user's specified task list. This method supports patch semantics.

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

Synopsis

REST Resource

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

A resource alias for tasks.tasklists.patch method which the TaskListsPatch request conforms to.

Creating a Request

taskListsPatch Source #

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

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

data TaskListsPatch Source #

Updates the authenticated user's specified task list. This method supports patch semantics.

See: taskListsPatch smart constructor.

Instances
Eq TaskListsPatch Source # 
Instance details

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

Data TaskListsPatch Source # 
Instance details

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

Methods

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

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

toConstr :: TaskListsPatch -> Constr #

dataTypeOf :: TaskListsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TaskListsPatch Source # 
Instance details

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

Generic TaskListsPatch Source # 
Instance details

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

Associated Types

type Rep TaskListsPatch :: Type -> Type #

GoogleRequest TaskListsPatch Source # 
Instance details

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

Associated Types

type Rs TaskListsPatch :: Type #

type Scopes TaskListsPatch :: [Symbol] #

type Rep TaskListsPatch Source # 
Instance details

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

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

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

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

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

Request Lenses

tlpPayload :: Lens' TaskListsPatch TaskList Source #

Multipart request metadata.

tlpTaskList :: Lens' TaskListsPatch Text Source #

Task list identifier.