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.CalendarList.Patch

Contents

Description

Updates an existing calendar on the user's calendar list. This method supports patch semantics.

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

Synopsis

REST Resource

type CalendarListPatchResource = "calendar" :> ("v3" :> ("users" :> ("me" :> ("calendarList" :> (Capture "calendarId" Text :> (QueryParam "colorRgbFormat" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CalendarListEntry :> Patch '[JSON] CalendarListEntry)))))))) Source #

A resource alias for calendar.calendarList.patch method which the CalendarListPatch request conforms to.

Creating a Request

calendarListPatch Source #

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

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

data CalendarListPatch Source #

Updates an existing calendar on the user's calendar list. This method supports patch semantics.

See: calendarListPatch smart constructor.

Instances
Eq CalendarListPatch Source # 
Instance details

Defined in Network.Google.Resource.Calendar.CalendarList.Patch

Data CalendarListPatch Source # 
Instance details

Defined in Network.Google.Resource.Calendar.CalendarList.Patch

Methods

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

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

toConstr :: CalendarListPatch -> Constr #

dataTypeOf :: CalendarListPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CalendarListPatch Source # 
Instance details

Defined in Network.Google.Resource.Calendar.CalendarList.Patch

Generic CalendarListPatch Source # 
Instance details

Defined in Network.Google.Resource.Calendar.CalendarList.Patch

Associated Types

type Rep CalendarListPatch :: Type -> Type #

GoogleRequest CalendarListPatch Source # 
Instance details

Defined in Network.Google.Resource.Calendar.CalendarList.Patch

Associated Types

type Rs CalendarListPatch :: Type #

type Scopes CalendarListPatch :: [Symbol] #

type Rep CalendarListPatch Source # 
Instance details

Defined in Network.Google.Resource.Calendar.CalendarList.Patch

type Rep CalendarListPatch = D1 (MetaData "CalendarListPatch" "Network.Google.Resource.Calendar.CalendarList.Patch" "gogol-apps-calendar-0.4.0-JhVPsEbzg60HmmguA3hcFJ" False) (C1 (MetaCons "CalendarListPatch'" PrefixI True) (S1 (MetaSel (Just "_clpCalendarId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_clpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CalendarListEntry) :*: S1 (MetaSel (Just "_clpColorRgbFormat") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))
type Scopes CalendarListPatch Source # 
Instance details

Defined in Network.Google.Resource.Calendar.CalendarList.Patch

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

Defined in Network.Google.Resource.Calendar.CalendarList.Patch

Request Lenses

clpCalendarId :: Lens' CalendarListPatch 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.

clpColorRgbFormat :: Lens' CalendarListPatch (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.