gogol-apps-tasks-0.5.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 # 
Instance details

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

Data TaskListsInsert Source # 
Instance details

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

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 # 
Instance details

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

Generic TaskListsInsert Source # 
Instance details

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

Associated Types

type Rep TaskListsInsert :: Type -> Type #

GoogleRequest TaskListsInsert Source # 
Instance details

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

Associated Types

type Rs TaskListsInsert :: Type #

type Scopes TaskListsInsert :: [Symbol] #

type Rep TaskListsInsert Source # 
Instance details

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

type Rep TaskListsInsert = D1 (MetaData "TaskListsInsert" "Network.Google.Resource.Tasks.TaskLists.Insert" "gogol-apps-tasks-0.5.0-LY6pXwYEuod3fTLHVHzDMy" True) (C1 (MetaCons "TaskListsInsert'" PrefixI True) (S1 (MetaSel (Just "_tliPayload") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 TaskList)))
type Scopes TaskListsInsert Source # 
Instance details

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

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

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

Request Lenses

tliPayload :: Lens' TaskListsInsert TaskList Source #

Multipart request metadata.