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
.
Synopsis
- type EventsDeleteResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> ("events" :> (Capture "eventId" Text :> (QueryParam "sendNotifications" Bool :> (QueryParam "sendUpdates" EventsDeleteSendUpdates :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))))
- eventsDelete :: Text -> Text -> EventsDelete
- data EventsDelete
- edCalendarId :: Lens' EventsDelete Text
- edSendNotifications :: Lens' EventsDelete (Maybe Bool)
- edSendUpdates :: Lens' EventsDelete (Maybe EventsDeleteSendUpdates)
- edEventId :: Lens' EventsDelete Text
REST Resource
type EventsDeleteResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> ("events" :> (Capture "eventId" Text :> (QueryParam "sendNotifications" Bool :> (QueryParam "sendUpdates" EventsDeleteSendUpdates :> (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.
Instances
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 #
Deprecated. Please use sendUpdates instead. Whether to send notifications about the deletion of the event. Note that some emails might still be sent even if you set the value to false. The default is false.
edSendUpdates :: Lens' EventsDelete (Maybe EventsDeleteSendUpdates) Source #
Guests who should receive notifications about the deletion of the event.