Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns metadata for a calendar.
See: Calendar API Reference for calendar.calendars.get
.
Synopsis
- type CalendarsGetResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Calendar))))
- calendarsGet :: Text -> CalendarsGet
- data CalendarsGet
- cgCalendarId :: Lens' CalendarsGet Text
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
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
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.