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

Contents

Description

Gets the auto-forwarding setting for the specified account.

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

Synopsis

REST Resource

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

A resource alias for gmail.users.settings.getAutoForwarding method which the UsersSettingsGetAutoForwarding request conforms to.

Creating a Request

usersSettingsGetAutoForwarding :: UsersSettingsGetAutoForwarding Source #

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

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

data UsersSettingsGetAutoForwarding Source #

Gets the auto-forwarding setting for the specified account.

See: usersSettingsGetAutoForwarding smart constructor.

Instances
Eq UsersSettingsGetAutoForwarding Source # 
Instance details

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

Data UsersSettingsGetAutoForwarding Source # 
Instance details

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

Methods

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

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

toConstr :: UsersSettingsGetAutoForwarding -> Constr #

dataTypeOf :: UsersSettingsGetAutoForwarding -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UsersSettingsGetAutoForwarding Source # 
Instance details

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

Generic UsersSettingsGetAutoForwarding Source # 
Instance details

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

Associated Types

type Rep UsersSettingsGetAutoForwarding :: Type -> Type #

GoogleRequest UsersSettingsGetAutoForwarding Source # 
Instance details

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

type Rep UsersSettingsGetAutoForwarding Source # 
Instance details

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

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

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

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

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

Request Lenses

usgafUserId :: Lens' UsersSettingsGetAutoForwarding Text Source #

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