gogol-apps-calendar-0.4.0: Google Calendar SDK.

Copyright(c) 2015-2016 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 "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

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.

Instances
Eq EventsMove Source # 
Instance details

Defined in Network.Google.Resource.Calendar.Events.Move

Data EventsMove Source # 
Instance details

Defined in Network.Google.Resource.Calendar.Events.Move

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EventsMove -> c EventsMove #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EventsMove #

toConstr :: EventsMove -> Constr #

dataTypeOf :: EventsMove -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EventsMove) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EventsMove) #

gmapT :: (forall b. Data b => b -> b) -> EventsMove -> EventsMove #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EventsMove -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EventsMove -> r #

gmapQ :: (forall d. Data d => d -> u) -> EventsMove -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EventsMove -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EventsMove -> m EventsMove #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EventsMove -> m EventsMove #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EventsMove -> m EventsMove #

Show EventsMove Source # 
Instance details

Defined in Network.Google.Resource.Calendar.Events.Move

Generic EventsMove Source # 
Instance details

Defined in Network.Google.Resource.Calendar.Events.Move

Associated Types

type Rep EventsMove :: Type -> Type #

GoogleRequest EventsMove Source # 
Instance details

Defined in Network.Google.Resource.Calendar.Events.Move

Associated Types

type Rs EventsMove :: Type #

type Scopes EventsMove :: [Symbol] #

type Rep EventsMove Source # 
Instance details

Defined in Network.Google.Resource.Calendar.Events.Move

type Rep EventsMove = D1 (MetaData "EventsMove" "Network.Google.Resource.Calendar.Events.Move" "gogol-apps-calendar-0.4.0-JhVPsEbzg60HmmguA3hcFJ" False) (C1 (MetaCons "EventsMove'" PrefixI True) ((S1 (MetaSel (Just "_emDestination") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_emCalendarId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_emSendNotifications") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_emSendUpdates") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EventsMoveSendUpdates)) :*: S1 (MetaSel (Just "_emEventId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes EventsMove Source # 
Instance details

Defined in Network.Google.Resource.Calendar.Events.Move

type Scopes EventsMove = "https://www.googleapis.com/auth/calendar" ': ("https://www.googleapis.com/auth/calendar.events" ': ([] :: [Symbol]))
type Rs EventsMove Source # 
Instance details

Defined in Network.Google.Resource.Calendar.Events.Move

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.

emEventId :: Lens' EventsMove Text Source #

Event identifier.