gogol-gmail-0.5.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.GetPop

Contents

Description

Gets POP settings.

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

Synopsis

REST Resource

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

A resource alias for gmail.users.settings.getPop method which the UsersSettingsGetPop request conforms to.

Creating a Request

usersSettingsGetPop :: UsersSettingsGetPop Source #

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

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

data UsersSettingsGetPop Source #

Gets POP settings.

See: usersSettingsGetPop smart constructor.

Instances
Eq UsersSettingsGetPop Source # 
Instance details

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

Data UsersSettingsGetPop Source # 
Instance details

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

Methods

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

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

toConstr :: UsersSettingsGetPop -> Constr #

dataTypeOf :: UsersSettingsGetPop -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UsersSettingsGetPop Source # 
Instance details

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

Generic UsersSettingsGetPop Source # 
Instance details

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

Associated Types

type Rep UsersSettingsGetPop :: Type -> Type #

GoogleRequest UsersSettingsGetPop Source # 
Instance details

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

Associated Types

type Rs UsersSettingsGetPop :: Type #

type Scopes UsersSettingsGetPop :: [Symbol] #

type Rep UsersSettingsGetPop Source # 
Instance details

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

type Rep UsersSettingsGetPop = D1 (MetaData "UsersSettingsGetPop" "Network.Google.Resource.Gmail.Users.Settings.GetPop" "gogol-gmail-0.5.0-48uFK4VONYULgv1idP6U1t" True) (C1 (MetaCons "UsersSettingsGetPop'" PrefixI True) (S1 (MetaSel (Just "_usgpUserId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes UsersSettingsGetPop Source # 
Instance details

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

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

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

Request Lenses

usgpUserId :: Lens' UsersSettingsGetPop Text Source #

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