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

Contents

Description

Imports an event. This operation is used to add a private copy of an existing event to a calendar.

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

Synopsis

REST Resource

type EventsImportResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> ("events" :> ("import" :> (QueryParam "supportsAttachments" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Event :> Post '[JSON] Event)))))))) Source #

A resource alias for calendar.events.import method which the EventsImport request conforms to.

Creating a Request

eventsImport Source #

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

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

data EventsImport Source #

Imports an event. This operation is used to add a private copy of an existing event to a calendar.

See: eventsImport smart constructor.

Instances

Eq EventsImport Source # 
Data EventsImport Source # 

Methods

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

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

toConstr :: EventsImport -> Constr #

dataTypeOf :: EventsImport -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EventsImport Source # 
Generic EventsImport Source # 

Associated Types

type Rep EventsImport :: * -> * #

GoogleRequest EventsImport Source # 

Associated Types

type Rs EventsImport :: * #

type Scopes EventsImport :: [Symbol] #

type Rep EventsImport Source # 
type Rep EventsImport = D1 (MetaData "EventsImport" "Network.Google.Resource.Calendar.Events.Import" "gogol-apps-calendar-0.1.1-8hrx4AbDZpA3duht5GRQsA" False) (C1 (MetaCons "EventsImport'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_eiCalendarId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_eiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Event)) (S1 (MetaSel (Just Symbol "_eiSupportsAttachments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))))
type Scopes EventsImport Source # 
type Scopes EventsImport = (:) Symbol "https://www.googleapis.com/auth/calendar" ([] Symbol)
type Rs EventsImport Source # 

Request Lenses

eiCalendarId :: Lens' EventsImport 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.

eiPayload :: Lens' EventsImport Event Source #

Multipart request metadata.

eiSupportsAttachments :: Lens' EventsImport (Maybe Bool) Source #

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