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

Contents

Description

Returns an event.

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

Synopsis

REST Resource

type EventsGetResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> ("events" :> (Capture "eventId" Text :> (QueryParam "maxAttendees" (Textual Int32) :> (QueryParam "timeZone" Text :> (QueryParam "alwaysIncludeEmail" Bool :> (QueryParam "alt" AltJSON :> Get '[JSON] Event))))))))) Source #

A resource alias for calendar.events.get method which the EventsGet request conforms to.

Creating a Request

eventsGet Source #

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

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

data EventsGet Source #

Returns an event.

See: eventsGet smart constructor.

Instances
Eq EventsGet Source # 
Instance details

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

Data EventsGet Source # 
Instance details

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

Methods

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

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

toConstr :: EventsGet -> Constr #

dataTypeOf :: EventsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EventsGet Source # 
Instance details

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

Generic EventsGet Source # 
Instance details

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

Associated Types

type Rep EventsGet :: Type -> Type #

GoogleRequest EventsGet Source # 
Instance details

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

Associated Types

type Rs EventsGet :: Type #

type Scopes EventsGet :: [Symbol] #

type Rep EventsGet Source # 
Instance details

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

type Rep EventsGet = D1 (MetaData "EventsGet" "Network.Google.Resource.Calendar.Events.Get" "gogol-apps-calendar-0.4.0-JhVPsEbzg60HmmguA3hcFJ" False) (C1 (MetaCons "EventsGet'" PrefixI True) ((S1 (MetaSel (Just "_egCalendarId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_egMaxAttendees") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) :*: (S1 (MetaSel (Just "_egTimeZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_egAlwaysIncludeEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_egEventId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes EventsGet Source # 
Instance details

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

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

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

Request Lenses

egCalendarId :: Lens' EventsGet 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.

egMaxAttendees :: Lens' EventsGet (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.

egTimeZone :: Lens' EventsGet (Maybe Text) Source #

Time zone used in the response. Optional. The default is the time zone of the calendar.

egAlwaysIncludeEmail :: Lens' EventsGet (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.

egEventId :: Lens' EventsGet Text Source #

Event identifier.