gogol-apps-tasks-0.1.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.Insert

Contents

Description

Creates a new task list and adds it to the authenticated user's task lists.

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

Synopsis

REST Resource

type TaskListsInsertResource = "tasks" :> ("v1" :> ("users" :> ("@me" :> ("lists" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TaskList :> Post '[JSON] TaskList)))))) Source #

A resource alias for tasks.tasklists.insert method which the TaskListsInsert request conforms to.

Creating a Request

taskListsInsert Source #

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

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

data TaskListsInsert Source #

Creates a new task list and adds it to the authenticated user's task lists.

See: taskListsInsert smart constructor.

Instances

Eq TaskListsInsert Source # 
Data TaskListsInsert Source # 

Methods

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

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

toConstr :: TaskListsInsert -> Constr #

dataTypeOf :: TaskListsInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TaskListsInsert Source # 
Generic TaskListsInsert Source # 
GoogleRequest TaskListsInsert Source # 
type Rep TaskListsInsert Source # 
type Rep TaskListsInsert = D1 (MetaData "TaskListsInsert" "Network.Google.Resource.Tasks.TaskLists.Insert" "gogol-apps-tasks-0.1.0-BbceY570lhx1MABtQGZD7y" True) (C1 (MetaCons "TaskListsInsert'" PrefixI True) (S1 (MetaSel (Just Symbol "_tliPayload") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 TaskList)))
type Scopes TaskListsInsert Source # 
type Scopes TaskListsInsert = (:) Symbol "https://www.googleapis.com/auth/tasks" ([] Symbol)
type Rs TaskListsInsert Source # 

Request Lenses

tliPayload :: Lens' TaskListsInsert TaskList Source #

Multipart request metadata.