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

Contents

Description

Deletes an event.

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

Synopsis

REST Resource

type EventsDeleteResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> ("events" :> (Capture "eventId" Text :> (QueryParam "sendNotifications" Bool :> (QueryParam "sendUpdates" EventsDeleteSendUpdates :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))))) Source #

A resource alias for calendar.events.delete method which the EventsDelete request conforms to.

Creating a Request

eventsDelete Source #

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

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

data EventsDelete Source #

Deletes an event.

See: eventsDelete smart constructor.

Instances
Eq EventsDelete Source # 
Instance details

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

Data EventsDelete Source # 
Instance details

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

Methods

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

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

toConstr :: EventsDelete -> Constr #

dataTypeOf :: EventsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EventsDelete Source # 
Instance details

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

Generic EventsDelete Source # 
Instance details

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

Associated Types

type Rep EventsDelete :: Type -> Type #

GoogleRequest EventsDelete Source # 
Instance details

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

Associated Types

type Rs EventsDelete :: Type #

type Scopes EventsDelete :: [Symbol] #

type Rep EventsDelete Source # 
Instance details

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

type Rep EventsDelete = D1 (MetaData "EventsDelete" "Network.Google.Resource.Calendar.Events.Delete" "gogol-apps-calendar-0.4.0-JhVPsEbzg60HmmguA3hcFJ" False) (C1 (MetaCons "EventsDelete'" PrefixI True) ((S1 (MetaSel (Just "_edCalendarId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_edSendNotifications") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_edSendUpdates") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EventsDeleteSendUpdates)) :*: S1 (MetaSel (Just "_edEventId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes EventsDelete Source # 
Instance details

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

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

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

type Rs EventsDelete = ()

Request Lenses

edCalendarId :: Lens' EventsDelete Text Source #

Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.

edSendNotifications :: Lens' EventsDelete (Maybe Bool) Source #

Deprecated. Please use sendUpdates instead. Whether to send notifications about the deletion of the event. Note that some emails might still be sent even if you set the value to false. The default is false.

edSendUpdates :: Lens' EventsDelete (Maybe EventsDeleteSendUpdates) Source #

Guests who should receive notifications about the deletion of the event.

edEventId :: Lens' EventsDelete Text Source #

Event identifier.