gogol-gmail-0.4.0: Google Gmail 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.Gmail.Users.Settings.UpdatePop

Contents

Description

Updates POP settings.

See: Gmail API Reference for gmail.users.settings.updatePop.

Synopsis

REST Resource

type UsersSettingsUpdatePopResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("settings" :> ("pop" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PopSettings :> Put '[JSON] PopSettings))))))) Source #

A resource alias for gmail.users.settings.updatePop method which the UsersSettingsUpdatePop request conforms to.

Creating a Request

usersSettingsUpdatePop Source #

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

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

data UsersSettingsUpdatePop Source #

Updates POP settings.

See: usersSettingsUpdatePop smart constructor.

Instances
Eq UsersSettingsUpdatePop Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.UpdatePop

Data UsersSettingsUpdatePop Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.UpdatePop

Methods

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

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

toConstr :: UsersSettingsUpdatePop -> Constr #

dataTypeOf :: UsersSettingsUpdatePop -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UsersSettingsUpdatePop Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.UpdatePop

Generic UsersSettingsUpdatePop Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.UpdatePop

Associated Types

type Rep UsersSettingsUpdatePop :: Type -> Type #

GoogleRequest UsersSettingsUpdatePop Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.UpdatePop

type Rep UsersSettingsUpdatePop Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.UpdatePop

type Rep UsersSettingsUpdatePop = D1 (MetaData "UsersSettingsUpdatePop" "Network.Google.Resource.Gmail.Users.Settings.UpdatePop" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" False) (C1 (MetaCons "UsersSettingsUpdatePop'" PrefixI True) (S1 (MetaSel (Just "_usupPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 PopSettings) :*: S1 (MetaSel (Just "_usupUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes UsersSettingsUpdatePop Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.UpdatePop

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

Defined in Network.Google.Resource.Gmail.Users.Settings.UpdatePop

Request Lenses

usupUserId :: Lens' UsersSettingsUpdatePop Text Source #

User's email address. The special value "me" can be used to indicate the authenticated user.