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.Settings.List

Contents

Description

Returns all user settings for the authenticated user.

See: Calendar API Reference for calendar.settings.list.

Synopsis

REST Resource

type SettingsListResource = "calendar" :> ("v3" :> ("users" :> ("me" :> ("settings" :> (QueryParam "syncToken" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] Settings)))))))) Source #

A resource alias for calendar.settings.list method which the SettingsList request conforms to.

Creating a Request

settingsList :: SettingsList Source #

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

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

data SettingsList Source #

Returns all user settings for the authenticated user.

See: settingsList smart constructor.

Instances
Eq SettingsList Source # 
Instance details

Defined in Network.Google.Resource.Calendar.Settings.List

Data SettingsList Source # 
Instance details

Defined in Network.Google.Resource.Calendar.Settings.List

Methods

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

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

toConstr :: SettingsList -> Constr #

dataTypeOf :: SettingsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SettingsList Source # 
Instance details

Defined in Network.Google.Resource.Calendar.Settings.List

Generic SettingsList Source # 
Instance details

Defined in Network.Google.Resource.Calendar.Settings.List

Associated Types

type Rep SettingsList :: Type -> Type #

GoogleRequest SettingsList Source # 
Instance details

Defined in Network.Google.Resource.Calendar.Settings.List

Associated Types

type Rs SettingsList :: Type #

type Scopes SettingsList :: [Symbol] #

type Rep SettingsList Source # 
Instance details

Defined in Network.Google.Resource.Calendar.Settings.List

type Rep SettingsList = D1 (MetaData "SettingsList" "Network.Google.Resource.Calendar.Settings.List" "gogol-apps-calendar-0.4.0-JhVPsEbzg60HmmguA3hcFJ" False) (C1 (MetaCons "SettingsList'" PrefixI True) (S1 (MetaSel (Just "_slSyncToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_slPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_slMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))))
type Scopes SettingsList Source # 
Instance details

Defined in Network.Google.Resource.Calendar.Settings.List

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

Defined in Network.Google.Resource.Calendar.Settings.List

Request Lenses

slSyncToken :: Lens' SettingsList (Maybe Text) Source #

Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then. If the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken. Learn more about incremental synchronization. Optional. The default is to return all entries.

slPageToken :: Lens' SettingsList (Maybe Text) Source #

Token specifying which result page to return. Optional.

slMaxResults :: Lens' SettingsList (Maybe Int32) Source #

Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. Optional.