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