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 IMAP settings.
See: Gmail API Reference for gmail.users.settings.getImap
.
Synopsis
- type UsersSettingsGetImapResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("settings" :> ("imap" :> (QueryParam "alt" AltJSON :> Get '[JSON] ImapSettings))))))
- usersSettingsGetImap :: UsersSettingsGetImap
- data UsersSettingsGetImap
- usgiUserId :: Lens' UsersSettingsGetImap Text
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
Request Lenses
usgiUserId :: Lens' UsersSettingsGetImap Text Source #
User's email address. The special value "me" can be used to indicate the authenticated user.