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 |
Retrieves a list of teams for a user.
See: Google Maps Coordinate API Reference for coordinate.team.list
.
- type TeamListResource = "coordinate" :> ("v1" :> ("teams" :> (QueryParam "dispatcher" Bool :> (QueryParam "admin" Bool :> (QueryParam "worker" Bool :> (QueryParam "alt" AltJSON :> Get '[JSON] TeamListResponse))))))
- teamList :: TeamList
- data TeamList
- tlDispatcher :: Lens' TeamList (Maybe Bool)
- tlAdmin :: Lens' TeamList (Maybe Bool)
- tlWorker :: Lens' TeamList (Maybe Bool)
REST Resource
type TeamListResource = "coordinate" :> ("v1" :> ("teams" :> (QueryParam "dispatcher" Bool :> (QueryParam "admin" Bool :> (QueryParam "worker" Bool :> (QueryParam "alt" AltJSON :> Get '[JSON] TeamListResponse)))))) Source #
A resource alias for coordinate.team.list
method which the
TeamList
request conforms to.
Creating a Request
Creates a value of TeamList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Retrieves a list of teams for a user.
See: teamList
smart constructor.
Request Lenses
tlDispatcher :: Lens' TeamList (Maybe Bool) Source #
Whether to include teams for which the user has the Dispatcher role.