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 |
Updates IMAP settings.
See: Gmail API Reference for gmail.users.settings.updateImap
.
Synopsis
- type UsersSettingsUpdateImapResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("settings" :> ("imap" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ImapSettings :> Put '[JSON] ImapSettings)))))))
- usersSettingsUpdateImap :: ImapSettings -> UsersSettingsUpdateImap
- data UsersSettingsUpdateImap
- usuiPayload :: Lens' UsersSettingsUpdateImap ImapSettings
- usuiUserId :: Lens' UsersSettingsUpdateImap Text
REST Resource
type UsersSettingsUpdateImapResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("settings" :> ("imap" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ImapSettings :> Put '[JSON] ImapSettings))))))) Source #
A resource alias for gmail.users.settings.updateImap
method which the
UsersSettingsUpdateImap
request conforms to.
Creating a Request
usersSettingsUpdateImap Source #
Creates a value of UsersSettingsUpdateImap
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersSettingsUpdateImap Source #
Updates IMAP settings.
See: usersSettingsUpdateImap
smart constructor.
Instances
Request Lenses
usuiPayload :: Lens' UsersSettingsUpdateImap ImapSettings Source #
Multipart request metadata.
usuiUserId :: Lens' UsersSettingsUpdateImap Text Source #
User's email address. The special value "me" can be used to indicate the authenticated user.