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