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

Contents

Description

Moves an event to another calendar, i.e. changes an event's organizer.

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

Synopsis

REST Resource

type EventsMoveResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> ("events" :> (Capture "eventId" Text :> ("move" :> (QueryParam "destination" Text :> (QueryParam "sendNotifications" Bool :> (QueryParam "alt" AltJSON :> Post `[JSON]` Event))))))))) Source

A resource alias for calendar.events.move method which the EventsMove request conforms to.

Creating a Request

eventsMove Source

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

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

data EventsMove Source

Moves an event to another calendar, i.e. changes an event's organizer.

See: eventsMove smart constructor.

Request Lenses

emDestination :: Lens' EventsMove Text Source

Calendar identifier of the target calendar where the event is to be moved to.

emCalendarId :: Lens' EventsMove Text Source

Calendar identifier of the source calendar where the event currently is on.

emSendNotifications :: Lens' EventsMove (Maybe Bool) Source

Whether to send notifications about the change of the event's organizer. Optional. The default is False.

emEventId :: Lens' EventsMove Text Source

Event identifier.