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

Contents

Description

Returns metadata for a calendar.

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

Synopsis

REST Resource

type CalendarsGetResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Calendar)))) Source #

A resource alias for calendar.calendars.get method which the CalendarsGet request conforms to.

Creating a Request

calendarsGet Source #

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

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

data CalendarsGet Source #

Returns metadata for a calendar.

See: calendarsGet smart constructor.

Instances
Eq CalendarsGet Source # 
Instance details

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

Data CalendarsGet Source # 
Instance details

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

Methods

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

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

toConstr :: CalendarsGet -> Constr #

dataTypeOf :: CalendarsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CalendarsGet Source # 
Instance details

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

Generic CalendarsGet Source # 
Instance details

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

Associated Types

type Rep CalendarsGet :: Type -> Type #

GoogleRequest CalendarsGet Source # 
Instance details

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

Associated Types

type Rs CalendarsGet :: Type #

type Scopes CalendarsGet :: [Symbol] #

type Rep CalendarsGet Source # 
Instance details

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

type Rep CalendarsGet = D1 (MetaData "CalendarsGet" "Network.Google.Resource.Calendar.Calendars.Get" "gogol-apps-calendar-0.4.0-JhVPsEbzg60HmmguA3hcFJ" True) (C1 (MetaCons "CalendarsGet'" PrefixI True) (S1 (MetaSel (Just "_cgCalendarId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes CalendarsGet Source # 
Instance details

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

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

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

Request Lenses

cgCalendarId :: Lens' CalendarsGet 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.