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

Contents

Description

Imports an event. This operation is used to add a private copy of an existing event to a calendar.

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

Synopsis

REST Resource

type EventsImportResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> ("events" :> ("import" :> (QueryParam "supportsAttachments" Bool :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Event :> Post `[JSON]` Event)))))))) Source

A resource alias for calendar.events.import method which the EventsImport request conforms to.

Creating a Request

eventsImport Source

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

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

data EventsImport Source

Imports an event. This operation is used to add a private copy of an existing event to a calendar.

See: eventsImport smart constructor.

Request Lenses

eiCalendarId :: Lens' EventsImport 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.

eiPayload :: Lens' EventsImport Event Source

Multipart request metadata.

eiSupportsAttachments :: Lens' EventsImport (Maybe Bool) Source

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