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.GetImap

Contents

Description

Gets IMAP settings.

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

Synopsis

REST Resource

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

A resource alias for gmail.users.settings.getImap method which the UsersSettingsGetImap request conforms to.

Creating a Request

usersSettingsGetImap :: UsersSettingsGetImap Source #

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

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

data UsersSettingsGetImap Source #

Gets IMAP settings.

See: usersSettingsGetImap smart constructor.

Instances
Eq UsersSettingsGetImap Source # 
Instance details

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

Data UsersSettingsGetImap Source # 
Instance details

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

Methods

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

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

toConstr :: UsersSettingsGetImap -> Constr #

dataTypeOf :: UsersSettingsGetImap -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UsersSettingsGetImap Source # 
Instance details

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

Generic UsersSettingsGetImap Source # 
Instance details

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

Associated Types

type Rep UsersSettingsGetImap :: Type -> Type #

GoogleRequest UsersSettingsGetImap Source # 
Instance details

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

Associated Types

type Rs UsersSettingsGetImap :: Type #

type Scopes UsersSettingsGetImap :: [Symbol] #

type Rep UsersSettingsGetImap Source # 
Instance details

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

type Rep UsersSettingsGetImap = D1 (MetaData "UsersSettingsGetImap" "Network.Google.Resource.Gmail.Users.Settings.GetImap" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" True) (C1 (MetaCons "UsersSettingsGetImap'" PrefixI True) (S1 (MetaSel (Just "_usgiUserId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes UsersSettingsGetImap Source # 
Instance details

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

type Scopes UsersSettingsGetImap = "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 UsersSettingsGetImap Source # 
Instance details

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

Request Lenses

usgiUserId :: Lens' UsersSettingsGetImap Text Source #

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