Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Gets the auto-forwarding setting for the specified account.
See: Gmail API Reference for gmail.users.settings.getAutoForwarding
.
Synopsis
- type UsersSettingsGetAutoForwardingResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("settings" :> ("autoForwarding" :> (QueryParam "alt" AltJSON :> Get '[JSON] AutoForwarding))))))
- usersSettingsGetAutoForwarding :: UsersSettingsGetAutoForwarding
- data UsersSettingsGetAutoForwarding
- usgafUserId :: Lens' UsersSettingsGetAutoForwarding Text
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
Request Lenses
usgafUserId :: Lens' UsersSettingsGetAutoForwarding Text Source #
User's email address. The special value "me" can be used to indicate the authenticated user.