gogol-apps-calendar-0.4.0: Google Calendar 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.Calendar.CalendarList.Insert

Contents

Description

Inserts an existing calendar into the user's calendar list.

See: Calendar API Reference for calendar.calendarList.insert.

Synopsis

REST Resource

type CalendarListInsertResource = "calendar" :> ("v3" :> ("users" :> ("me" :> ("calendarList" :> (QueryParam "colorRgbFormat" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CalendarListEntry :> Post '[JSON] CalendarListEntry))))))) Source #

A resource alias for calendar.calendarList.insert method which the CalendarListInsert request conforms to.

Creating a Request

calendarListInsert Source #

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

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

data CalendarListInsert Source #

Inserts an existing calendar into the user's calendar list.

See: calendarListInsert smart constructor.

Instances
Eq CalendarListInsert Source # 
Instance details

Defined in Network.Google.Resource.Calendar.CalendarList.Insert

Data CalendarListInsert Source # 
Instance details

Defined in Network.Google.Resource.Calendar.CalendarList.Insert

Methods

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

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

toConstr :: CalendarListInsert -> Constr #

dataTypeOf :: CalendarListInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CalendarListInsert Source # 
Instance details

Defined in Network.Google.Resource.Calendar.CalendarList.Insert

Generic CalendarListInsert Source # 
Instance details

Defined in Network.Google.Resource.Calendar.CalendarList.Insert

Associated Types

type Rep CalendarListInsert :: Type -> Type #

GoogleRequest CalendarListInsert Source # 
Instance details

Defined in Network.Google.Resource.Calendar.CalendarList.Insert

Associated Types

type Rs CalendarListInsert :: Type #

type Scopes CalendarListInsert :: [Symbol] #

type Rep CalendarListInsert Source # 
Instance details

Defined in Network.Google.Resource.Calendar.CalendarList.Insert

type Rep CalendarListInsert = D1 (MetaData "CalendarListInsert" "Network.Google.Resource.Calendar.CalendarList.Insert" "gogol-apps-calendar-0.4.0-JhVPsEbzg60HmmguA3hcFJ" False) (C1 (MetaCons "CalendarListInsert'" PrefixI True) (S1 (MetaSel (Just "_cliPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CalendarListEntry) :*: S1 (MetaSel (Just "_cliColorRgbFormat") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))
type Scopes CalendarListInsert Source # 
Instance details

Defined in Network.Google.Resource.Calendar.CalendarList.Insert

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

Defined in Network.Google.Resource.Calendar.CalendarList.Insert

Request Lenses

cliColorRgbFormat :: Lens' CalendarListInsert (Maybe Bool) Source #

Whether to use the foregroundColor and backgroundColor fields to write the calendar colors (RGB). If this feature is used, the index-based colorId field will be set to the best matching option automatically. Optional. The default is False.