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 |
Moves an event to another calendar, i.e. changes an event's organizer.
See: Calendar API Reference for calendar.events.move
.
Synopsis
- type EventsMoveResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> ("events" :> (Capture "eventId" Text :> ("move" :> (QueryParam "destination" Text :> (QueryParam "sendNotifications" Bool :> (QueryParam "sendUpdates" EventsMoveSendUpdates :> (QueryParam "alt" AltJSON :> Post '[JSON] Event))))))))))
- eventsMove :: Text -> Text -> Text -> EventsMove
- data EventsMove
- emDestination :: Lens' EventsMove Text
- emCalendarId :: Lens' EventsMove Text
- emSendNotifications :: Lens' EventsMove (Maybe Bool)
- emSendUpdates :: Lens' EventsMove (Maybe EventsMoveSendUpdates)
- emEventId :: Lens' EventsMove Text
REST Resource
type EventsMoveResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> ("events" :> (Capture "eventId" Text :> ("move" :> (QueryParam "destination" Text :> (QueryParam "sendNotifications" Bool :> (QueryParam "sendUpdates" EventsMoveSendUpdates :> (QueryParam "alt" AltJSON :> Post '[JSON] Event)))))))))) Source #
A resource alias for calendar.events.move
method which the
EventsMove
request conforms to.
Creating a Request
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.
Instances
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 #
Deprecated. Please use sendUpdates instead. Whether to send notifications about the change of the event's organizer. Note that some emails might still be sent even if you set the value to false. The default is false.
emSendUpdates :: Lens' EventsMove (Maybe EventsMoveSendUpdates) Source #
Guests who should receive notifications about the change of the event's organizer.