gogol-apps-calendar-0.0.1: Google Calendar SDK.

Copyright(c) 2015 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.CalendarList.Insert

Contents

Description

Adds an entry to the user's calendar list.

See: Calendar API Reference for calendar.calendarList.insert.

Synopsis

REST Resource

type CalendarListInsertResource = "calendar" :> ("v3" :> ("users" :> ("me" :> ("calendarList" :> (QueryParam "colorRgbFormat" Bool :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` CalendarListEntry :> Post `[JSON]` CalendarListEntry))))))) Source

A resource alias for calendar.calendarList.insert method which the CalendarListInsert request conforms to.

Creating a Request

calendarListInsert Source

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

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

Request Lenses

cliColorRgbFormat :: Lens' CalendarListInsert (Maybe Bool) Source

Whether to use the foregroundColor and backgroundColor fields to write the calendar colors (RGB). If this feature is used, the index-based colorId field will be set to the best matching option automatically. Optional. The default is False.