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 a calendar from the user's calendar list.
See: Calendar API Reference for calendar.calendarList.get
.
Synopsis
- type CalendarListGetResource = "calendar" :> ("v3" :> ("users" :> ("me" :> ("calendarList" :> (Capture "calendarId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] CalendarListEntry))))))
- calendarListGet :: Text -> CalendarListGet
- data CalendarListGet
- clgCalendarId :: Lens' CalendarListGet Text
REST Resource
type CalendarListGetResource = "calendar" :> ("v3" :> ("users" :> ("me" :> ("calendarList" :> (Capture "calendarId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] CalendarListEntry)))))) Source #
A resource alias for calendar.calendarList.get
method which the
CalendarListGet
request conforms to.
Creating a Request
Creates a value of CalendarListGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CalendarListGet Source #
Returns a calendar from the user's calendar list.
See: calendarListGet
smart constructor.
Instances
Request Lenses
clgCalendarId :: Lens' CalendarListGet 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.