gogol-apps-calendar-0.0.1: Google Calendar SDK.

Copyright(c) 2015 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:

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.