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.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 "sendUpdates" EventsQuickAddSendUpdates :> (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 # 
Instance details

Defined in Network.Google.Resource.Calendar.Events.QuickAdd

Data EventsQuickAdd Source # 
Instance details

Defined in Network.Google.Resource.Calendar.Events.QuickAdd

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

Defined in Network.Google.Resource.Calendar.Events.QuickAdd

Generic EventsQuickAdd Source # 
Instance details

Defined in Network.Google.Resource.Calendar.Events.QuickAdd

Associated Types

type Rep EventsQuickAdd :: Type -> Type #

GoogleRequest EventsQuickAdd Source # 
Instance details

Defined in Network.Google.Resource.Calendar.Events.QuickAdd

Associated Types

type Rs EventsQuickAdd :: Type #

type Scopes EventsQuickAdd :: [Symbol] #

type Rep EventsQuickAdd Source # 
Instance details

Defined in Network.Google.Resource.Calendar.Events.QuickAdd

type Rep EventsQuickAdd = D1 (MetaData "EventsQuickAdd" "Network.Google.Resource.Calendar.Events.QuickAdd" "gogol-apps-calendar-0.4.0-JhVPsEbzg60HmmguA3hcFJ" False) (C1 (MetaCons "EventsQuickAdd'" PrefixI True) ((S1 (MetaSel (Just "_eqaCalendarId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_eqaText") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_eqaSendNotifications") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_eqaSendUpdates") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EventsQuickAddSendUpdates)))))
type Scopes EventsQuickAdd Source # 
Instance details

Defined in Network.Google.Resource.Calendar.Events.QuickAdd

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

Defined in Network.Google.Resource.Calendar.Events.QuickAdd

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 #

Deprecated. Please use sendUpdates instead. Whether to send notifications about the creation of the event. Note that some emails might still be sent even if you set the value to false. The default is false.

eqaSendUpdates :: Lens' EventsQuickAdd (Maybe EventsQuickAddSendUpdates) Source #

Guests who should receive notifications about the creation of the new event.