gogol-maps-coordinate-0.0.1: Google Maps Coordinate SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Coordinate.Team.List

Contents

Description

Retrieves a list of teams for a user.

See: Google Maps Coordinate API Reference for coordinate.team.list.

Synopsis

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

teamList :: TeamList Source

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:

data TeamList Source

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.

tlAdmin :: Lens' TeamList (Maybe Bool) Source

Whether to include teams for which the user has the Admin role.

tlWorker :: Lens' TeamList (Maybe Bool) Source

Whether to include teams for which the user has the Worker role.