Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Deletes an event.
See: Calendar API Reference for calendar.events.delete
.
- type EventsDeleteResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> ("events" :> (Capture "eventId" Text :> (QueryParam "sendNotifications" Bool :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))))
- eventsDelete :: Text -> Text -> EventsDelete
- data EventsDelete
- edCalendarId :: Lens' EventsDelete Text
- edSendNotifications :: Lens' EventsDelete (Maybe Bool)
- edEventId :: Lens' EventsDelete Text
REST Resource
type EventsDeleteResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> ("events" :> (Capture "eventId" Text :> (QueryParam "sendNotifications" Bool :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))) Source #
A resource alias for calendar.events.delete
method which the
EventsDelete
request conforms to.
Creating a Request
Creates a value of EventsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EventsDelete Source #
Deletes an event.
See: eventsDelete
smart constructor.
Request Lenses
edCalendarId :: Lens' EventsDelete 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.
edSendNotifications :: Lens' EventsDelete (Maybe Bool) Source #
Whether to send notifications about the deletion of the event. Optional. The default is False.