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