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

Contents

Description

Deletes the specified task from the task list.

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

Synopsis

REST Resource

type TasksDeleteResource = "tasks" :> ("v1" :> ("lists" :> (Capture "tasklist" Text :> ("tasks" :> (Capture "task" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))) Source #

A resource alias for tasks.tasks.delete method which the TasksDelete request conforms to.

Creating a Request

tasksDelete Source #

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

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

data TasksDelete Source #

Deletes the specified task from the task list.

See: tasksDelete smart constructor.

Instances
Eq TasksDelete Source # 
Instance details

Defined in Network.Google.Resource.Tasks.Tasks.Delete

Data TasksDelete Source # 
Instance details

Defined in Network.Google.Resource.Tasks.Tasks.Delete

Methods

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

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

toConstr :: TasksDelete -> Constr #

dataTypeOf :: TasksDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TasksDelete Source # 
Instance details

Defined in Network.Google.Resource.Tasks.Tasks.Delete

Generic TasksDelete Source # 
Instance details

Defined in Network.Google.Resource.Tasks.Tasks.Delete

Associated Types

type Rep TasksDelete :: Type -> Type #

GoogleRequest TasksDelete Source # 
Instance details

Defined in Network.Google.Resource.Tasks.Tasks.Delete

Associated Types

type Rs TasksDelete :: Type #

type Scopes TasksDelete :: [Symbol] #

type Rep TasksDelete Source # 
Instance details

Defined in Network.Google.Resource.Tasks.Tasks.Delete

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

Defined in Network.Google.Resource.Tasks.Tasks.Delete

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

Defined in Network.Google.Resource.Tasks.Tasks.Delete

type Rs TasksDelete = ()

Request Lenses

tdTaskList :: Lens' TasksDelete Text Source #

Task list identifier.

tdTask :: Lens' TasksDelete Text Source #

Task identifier.