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.Insert

Contents

Description

Creates an event.

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

Synopsis

REST Resource

type EventsInsertResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> ("events" :> (QueryParam "maxAttendees" (Textual Int32) :> (QueryParam "sendNotifications" Bool :> (QueryParam "supportsAttachments" Bool :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Event :> Post `[JSON]` Event))))))))) Source

A resource alias for calendar.events.insert method which the EventsInsert request conforms to.

Creating a Request

eventsInsert Source

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

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

Request Lenses

eveCalendarId :: Lens' EventsInsert 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.

evePayload :: Lens' EventsInsert Event Source

Multipart request metadata.

eveMaxAttendees :: Lens' EventsInsert (Maybe Int32) Source

The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.

eveSendNotifications :: Lens' EventsInsert (Maybe Bool) Source

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

eveSupportsAttachments :: Lens' EventsInsert (Maybe Bool) Source

Whether API client performing operation supports event attachments. Optional. The default is False.