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 specified forwarding address.
See: Gmail API Reference for gmail.users.settings.forwardingAddresses.get
.
Synopsis
- type UsersSettingsForwardingAddressesGetResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("settings" :> ("forwardingAddresses" :> (Capture "forwardingEmail" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ForwardingAddress)))))))
- usersSettingsForwardingAddressesGet :: Text -> UsersSettingsForwardingAddressesGet
- data UsersSettingsForwardingAddressesGet
- usfagForwardingEmail :: Lens' UsersSettingsForwardingAddressesGet Text
- usfagUserId :: Lens' UsersSettingsForwardingAddressesGet Text
REST Resource
type UsersSettingsForwardingAddressesGetResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("settings" :> ("forwardingAddresses" :> (Capture "forwardingEmail" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ForwardingAddress))))))) Source #
A resource alias for gmail.users.settings.forwardingAddresses.get
method which the
UsersSettingsForwardingAddressesGet
request conforms to.
Creating a Request
usersSettingsForwardingAddressesGet Source #
Creates a value of UsersSettingsForwardingAddressesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersSettingsForwardingAddressesGet Source #
Gets the specified forwarding address.
See: usersSettingsForwardingAddressesGet
smart constructor.
Instances
Request Lenses
usfagForwardingEmail :: Lens' UsersSettingsForwardingAddressesGet Text Source #
The forwarding address to be retrieved.
usfagUserId :: Lens' UsersSettingsForwardingAddressesGet Text Source #
User's email address. The special value "me" can be used to indicate the authenticated user.