gogol-apps-calendar-0.2.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.Update

Contents

Description

Updates an event.

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

Synopsis

REST Resource

type EventsUpdateResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> ("events" :> (Capture "eventId" Text :> (QueryParam "maxAttendees" (Textual Int32) :> (QueryParam "sendNotifications" Bool :> (QueryParam "supportsAttachments" Bool :> (QueryParam "alwaysIncludeEmail" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Event :> Put '[JSON] Event))))))))))) Source #

A resource alias for calendar.events.update method which the EventsUpdate request conforms to.

Creating a Request

eventsUpdate Source #

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

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

data EventsUpdate Source #

Updates an event.

See: eventsUpdate smart constructor.

Instances

Eq EventsUpdate Source # 
Data EventsUpdate Source # 

Methods

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

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

toConstr :: EventsUpdate -> Constr #

dataTypeOf :: EventsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EventsUpdate Source # 
Generic EventsUpdate Source # 

Associated Types

type Rep EventsUpdate :: * -> * #

GoogleRequest EventsUpdate Source # 

Associated Types

type Rs EventsUpdate :: * #

type Scopes EventsUpdate :: [Symbol] #

type Rep EventsUpdate Source # 
type Rep EventsUpdate = D1 (MetaData "EventsUpdate" "Network.Google.Resource.Calendar.Events.Update" "gogol-apps-calendar-0.2.0-576ggKOIuVZ6HZ15Z9MI4r" False) (C1 (MetaCons "EventsUpdate'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_euCalendarId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_euPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Event)) (S1 (MetaSel (Just Symbol "_euMaxAttendees") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_euSendNotifications") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_euSupportsAttachments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) ((:*:) (S1 (MetaSel (Just Symbol "_euAlwaysIncludeEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_euEventId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Scopes EventsUpdate Source # 
type Scopes EventsUpdate = (:) Symbol "https://www.googleapis.com/auth/calendar" ([] Symbol)
type Rs EventsUpdate Source # 

Request Lenses

euCalendarId :: Lens' EventsUpdate 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.

euPayload :: Lens' EventsUpdate Event Source #

Multipart request metadata.

euMaxAttendees :: Lens' EventsUpdate (Maybe Int32) Source #

The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.

euSendNotifications :: Lens' EventsUpdate (Maybe Bool) Source #

Whether to send notifications about the event update (e.g. attendee's responses, title changes, etc.). Optional. The default is False.

euSupportsAttachments :: Lens' EventsUpdate (Maybe Bool) Source #

Whether API client performing operation supports event attachments. Optional. The default is False.

euAlwaysIncludeEmail :: Lens' EventsUpdate (Maybe Bool) Source #

Whether to always include a value in the email field for the organizer, creator and attendees, even if no real email is available (i.e. a generated, non-working value will be provided). The use of this option is discouraged and should only be used by clients which cannot handle the absence of an email address value in the mentioned places. Optional. The default is False.

euEventId :: Lens' EventsUpdate Text Source #

Event identifier.