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

Contents

Description

Updates an event. This method supports patch semantics.

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

Synopsis

REST Resource

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

A resource alias for calendar.events.patch method which the EventsPatch request conforms to.

Creating a Request

eventsPatch Source #

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

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

data EventsPatch Source #

Updates an event. This method supports patch semantics.

See: eventsPatch smart constructor.

Instances
Eq EventsPatch Source # 
Instance details

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

Data EventsPatch Source # 
Instance details

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

Methods

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

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

toConstr :: EventsPatch -> Constr #

dataTypeOf :: EventsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EventsPatch Source # 
Instance details

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

Generic EventsPatch Source # 
Instance details

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

Associated Types

type Rep EventsPatch :: Type -> Type #

GoogleRequest EventsPatch Source # 
Instance details

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

Associated Types

type Rs EventsPatch :: Type #

type Scopes EventsPatch :: [Symbol] #

type Rep EventsPatch Source # 
Instance details

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

type Rep EventsPatch = D1 (MetaData "EventsPatch" "Network.Google.Resource.Calendar.Events.Patch" "gogol-apps-calendar-0.4.0-JhVPsEbzg60HmmguA3hcFJ" False) (C1 (MetaCons "EventsPatch'" PrefixI True) (((S1 (MetaSel (Just "_epConferenceDataVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_epCalendarId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_epPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Event) :*: S1 (MetaSel (Just "_epMaxAttendees") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))) :*: ((S1 (MetaSel (Just "_epSendNotifications") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_epSupportsAttachments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_epSendUpdates") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EventsPatchSendUpdates)) :*: (S1 (MetaSel (Just "_epAlwaysIncludeEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_epEventId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Scopes EventsPatch Source # 
Instance details

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

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

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

Request Lenses

epConferenceDataVersion :: Lens' EventsPatch (Maybe Int32) Source #

Version number of conference data supported by the API client. Version 0 assumes no conference data support and ignores conference data in the event's body. Version 1 enables support for copying of ConferenceData as well as for creating new conferences using the createRequest field of conferenceData. The default is 0.

epCalendarId :: Lens' EventsPatch 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.

epPayload :: Lens' EventsPatch Event Source #

Multipart request metadata.

epMaxAttendees :: Lens' EventsPatch (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.

epSendNotifications :: Lens' EventsPatch (Maybe Bool) Source #

Deprecated. Please use sendUpdates instead. Whether to send notifications about the event update (for example, description changes, etc.). Note that some emails might still be sent even if you set the value to false. The default is false.

epSupportsAttachments :: Lens' EventsPatch (Maybe Bool) Source #

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

epSendUpdates :: Lens' EventsPatch (Maybe EventsPatchSendUpdates) Source #

Guests who should receive notifications about the event update (for example, title changes, etc.).

epAlwaysIncludeEmail :: Lens' EventsPatch (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.

epEventId :: Lens' EventsPatch Text Source #

Event identifier.