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.Location.List

Contents

Description

Retrieves a list of locations for a worker.

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

Synopsis

REST Resource

type LocationListResource = "coordinate" :> ("v1" :> ("teams" :> (Capture "teamId" Text :> ("workers" :> (Capture "workerEmail" Text :> ("locations" :> (QueryParam "startTimestampMs" (Textual Word64) :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` LocationListResponse)))))))))) Source

A resource alias for coordinate.location.list method which the LocationList request conforms to.

Creating a Request

locationList Source

Creates a value of LocationList with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

llWorkerEmail :: Lens' LocationList Text Source

Worker email address.

llStartTimestampMs :: Lens' LocationList Word64 Source

Start timestamp in milliseconds since the epoch.

llMaxResults :: Lens' LocationList (Maybe Word32) Source

Maximum number of results to return in one page.