gogol-apps-calendar-0.1.1: 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 "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 # 
Data EventsMove Source # 

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 # 
Generic EventsMove Source # 

Associated Types

type Rep EventsMove :: * -> * #

GoogleRequest EventsMove Source # 

Associated Types

type Rs EventsMove :: * #

type Scopes EventsMove :: [Symbol] #

type Rep EventsMove Source # 
type Rep EventsMove = D1 (MetaData "EventsMove" "Network.Google.Resource.Calendar.Events.Move" "gogol-apps-calendar-0.1.1-8hrx4AbDZpA3duht5GRQsA" False) (C1 (MetaCons "EventsMove'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_emDestination") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_emCalendarId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_emSendNotifications") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_emEventId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes EventsMove Source # 
type Scopes EventsMove = (:) Symbol "https://www.googleapis.com/auth/calendar" ([] Symbol)
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.

emEventId :: Lens' EventsMove Text Source #

Event identifier.