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 instances of the specified recurring event.
See: Calendar API Reference for calendar.events.instances
.
Synopsis
- type EventsInstancesResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> ("events" :> (Capture "eventId" Text :> ("instances" :> (QueryParam "timeMin" DateTime' :> (QueryParam "showDeleted" Bool :> (QueryParam "originalStart" Text :> (QueryParam "maxAttendees" (Textual Int32) :> (QueryParam "pageToken" Text :> (QueryParam "timeZone" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alwaysIncludeEmail" Bool :> (QueryParam "timeMax" DateTime' :> (QueryParam "alt" AltJSON :> Get '[JSON] Events))))))))))))))))
- eventsInstances :: Text -> Text -> EventsInstances
- data EventsInstances
- eCalendarId :: Lens' EventsInstances Text
- eTimeMin :: Lens' EventsInstances (Maybe UTCTime)
- eShowDeleted :: Lens' EventsInstances (Maybe Bool)
- eOriginalStart :: Lens' EventsInstances (Maybe Text)
- eMaxAttendees :: Lens' EventsInstances (Maybe Int32)
- ePageToken :: Lens' EventsInstances (Maybe Text)
- eTimeZone :: Lens' EventsInstances (Maybe Text)
- eMaxResults :: Lens' EventsInstances (Maybe Int32)
- eAlwaysIncludeEmail :: Lens' EventsInstances (Maybe Bool)
- eTimeMax :: Lens' EventsInstances (Maybe UTCTime)
- eEventId :: Lens' EventsInstances Text
REST Resource
type EventsInstancesResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> ("events" :> (Capture "eventId" Text :> ("instances" :> (QueryParam "timeMin" DateTime' :> (QueryParam "showDeleted" Bool :> (QueryParam "originalStart" Text :> (QueryParam "maxAttendees" (Textual Int32) :> (QueryParam "pageToken" Text :> (QueryParam "timeZone" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alwaysIncludeEmail" Bool :> (QueryParam "timeMax" DateTime' :> (QueryParam "alt" AltJSON :> Get '[JSON] Events)))))))))))))))) Source #
A resource alias for calendar.events.instances
method which the
EventsInstances
request conforms to.
Creating a Request
Creates a value of EventsInstances
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EventsInstances Source #
Returns instances of the specified recurring event.
See: eventsInstances
smart constructor.
Instances
Request Lenses
eCalendarId :: Lens' EventsInstances 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.
eTimeMin :: Lens' EventsInstances (Maybe UTCTime) Source #
Lower bound (inclusive) for an event's end time to filter by. Optional. The default is not to filter by end time. Must be an RFC3339 timestamp with mandatory time zone offset.
eShowDeleted :: Lens' EventsInstances (Maybe Bool) Source #
Whether to include deleted events (with status equals "cancelled") in the result. Cancelled instances of recurring events will still be included if singleEvents is False. Optional. The default is False.
eOriginalStart :: Lens' EventsInstances (Maybe Text) Source #
The original start time of the instance in the result. Optional.
eMaxAttendees :: Lens' EventsInstances (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.
ePageToken :: Lens' EventsInstances (Maybe Text) Source #
Token specifying which result page to return. Optional.
eTimeZone :: Lens' EventsInstances (Maybe Text) Source #
Time zone used in the response. Optional. The default is the time zone of the calendar.
eMaxResults :: Lens' EventsInstances (Maybe Int32) Source #
Maximum number of events returned on one result page. By default the value is 250 events. The page size can never be larger than 2500 events. Optional.
eAlwaysIncludeEmail :: Lens' EventsInstances (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.