gogol-apps-tasks-0.1.1: 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.Clear

Contents

Description

Clears all completed tasks from the specified task list. The affected tasks will be marked as 'hidden' and no longer be returned by default when retrieving all tasks for a task list.

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

Synopsis

REST Resource

type TasksClearResource = "tasks" :> ("v1" :> ("lists" :> (Capture "tasklist" Text :> ("clear" :> (QueryParam "alt" AltJSON :> Post '[JSON] ()))))) Source #

A resource alias for tasks.tasks.clear method which the TasksClear request conforms to.

Creating a Request

tasksClear Source #

Arguments

:: Text

tcTaskList

-> TasksClear 

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

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

data TasksClear Source #

Clears all completed tasks from the specified task list. The affected tasks will be marked as 'hidden' and no longer be returned by default when retrieving all tasks for a task list.

See: tasksClear smart constructor.

Instances

Eq TasksClear Source # 
Data TasksClear Source # 

Methods

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

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

toConstr :: TasksClear -> Constr #

dataTypeOf :: TasksClear -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TasksClear Source # 
Generic TasksClear Source # 

Associated Types

type Rep TasksClear :: * -> * #

GoogleRequest TasksClear Source # 

Associated Types

type Rs TasksClear :: * #

type Scopes TasksClear :: [Symbol] #

type Rep TasksClear Source # 
type Rep TasksClear = D1 (MetaData "TasksClear" "Network.Google.Resource.Tasks.Tasks.Clear" "gogol-apps-tasks-0.1.1-8lzSJmZc0JO3gNCr7PaO1k" True) (C1 (MetaCons "TasksClear'" PrefixI True) (S1 (MetaSel (Just Symbol "_tcTaskList") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes TasksClear Source # 
type Scopes TasksClear = (:) Symbol "https://www.googleapis.com/auth/tasks" ([] Symbol)
type Rs TasksClear Source # 
type Rs TasksClear = ()

Request Lenses

tcTaskList :: Lens' TasksClear Text Source #

Task list identifier.