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

Contents

Description

Updates the specified task. This method supports patch semantics.

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

Synopsis

REST Resource

type TasksPatchResource = "tasks" :> ("v1" :> ("lists" :> (Capture "tasklist" Text :> ("tasks" :> (Capture "task" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Task :> Patch '[JSON] Task))))))) Source #

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

Creating a Request

tasksPatch Source #

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

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

data TasksPatch Source #

Updates the specified task. This method supports patch semantics.

See: tasksPatch smart constructor.

Instances
Eq TasksPatch Source # 
Instance details

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

Data TasksPatch Source # 
Instance details

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

Methods

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

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

toConstr :: TasksPatch -> Constr #

dataTypeOf :: TasksPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TasksPatch Source # 
Instance details

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

Generic TasksPatch Source # 
Instance details

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

Associated Types

type Rep TasksPatch :: Type -> Type #

GoogleRequest TasksPatch Source # 
Instance details

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

Associated Types

type Rs TasksPatch :: Type #

type Scopes TasksPatch :: [Symbol] #

type Rep TasksPatch Source # 
Instance details

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

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

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

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

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

Request Lenses

tpPayload :: Lens' TasksPatch Task Source #

Multipart request metadata.

tpTaskList :: Lens' TasksPatch Text Source #

Task list identifier.

tpTask :: Lens' TasksPatch Text Source #

Task identifier.