| 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 |
Network.Google.Resource.Calendar.Events.Move
Description
Moves an event to another calendar, i.e. changes an event's organizer.
See: Calendar API Reference for calendar.events.move.
- 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)))))))))
- eventsMove :: Text -> Text -> Text -> EventsMove
- data EventsMove
- emDestination :: Lens' EventsMove Text
- emCalendarId :: Lens' EventsMove Text
- emSendNotifications :: Lens' EventsMove (Maybe Bool)
- 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 "alt" AltJSON :> Post '[JSON] Event))))))))) Source #
A resource alias for calendar.events.move method which the
EventsMove request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> EventsMove |
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
| Eq EventsMove Source # | |
| Data EventsMove Source # | |
| Show EventsMove Source # | |
| Generic EventsMove Source # | |
| GoogleRequest EventsMove Source # | |
| type Rep EventsMove Source # | |
| type Scopes EventsMove Source # | |
| type Rs EventsMove Source # | |
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.