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