gogol-apps-calendar-0.2.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.Events.QuickAdd

Contents

Description

Creates an event based on a simple text string.

See: Calendar API Reference for calendar.events.quickAdd.

Synopsis

REST Resource

type EventsQuickAddResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> ("events" :> ("quickAdd" :> (QueryParam "text" Text :> (QueryParam "sendNotifications" Bool :> (QueryParam "alt" AltJSON :> Post '[JSON] Event)))))))) Source #

A resource alias for calendar.events.quickAdd method which the EventsQuickAdd request conforms to.

Creating a Request

eventsQuickAdd Source #

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

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

data EventsQuickAdd Source #

Creates an event based on a simple text string.

See: eventsQuickAdd smart constructor.

Instances

Eq EventsQuickAdd Source # 
Data EventsQuickAdd Source # 

Methods

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

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

toConstr :: EventsQuickAdd -> Constr #

dataTypeOf :: EventsQuickAdd -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EventsQuickAdd Source # 
Generic EventsQuickAdd Source # 

Associated Types

type Rep EventsQuickAdd :: * -> * #

GoogleRequest EventsQuickAdd Source # 
type Rep EventsQuickAdd Source # 
type Rep EventsQuickAdd = D1 (MetaData "EventsQuickAdd" "Network.Google.Resource.Calendar.Events.QuickAdd" "gogol-apps-calendar-0.2.0-576ggKOIuVZ6HZ15Z9MI4r" False) (C1 (MetaCons "EventsQuickAdd'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_eqaCalendarId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_eqaText") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_eqaSendNotifications") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))))
type Scopes EventsQuickAdd Source # 
type Scopes EventsQuickAdd = (:) Symbol "https://www.googleapis.com/auth/calendar" ([] Symbol)
type Rs EventsQuickAdd Source # 

Request Lenses

eqaCalendarId :: Lens' EventsQuickAdd Text Source #

Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.

eqaText :: Lens' EventsQuickAdd Text Source #

The text describing the event to be created.

eqaSendNotifications :: Lens' EventsQuickAdd (Maybe Bool) Source #

Whether to send notifications about the creation of the event. Optional. The default is False.