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

Copyright(c) 2015-2016 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:

data LocationList Source #

Retrieves a list of locations for a worker.

See: locationList smart constructor.

Instances

Eq LocationList Source # 
Data LocationList Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LocationList -> c LocationList #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LocationList #

toConstr :: LocationList -> Constr #

dataTypeOf :: LocationList -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c LocationList) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LocationList) #

gmapT :: (forall b. Data b => b -> b) -> LocationList -> LocationList #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LocationList -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LocationList -> r #

gmapQ :: (forall d. Data d => d -> u) -> LocationList -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> LocationList -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LocationList -> m LocationList #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LocationList -> m LocationList #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LocationList -> m LocationList #

Show LocationList Source # 
Generic LocationList Source # 

Associated Types

type Rep LocationList :: * -> * #

GoogleRequest LocationList Source # 

Associated Types

type Rs LocationList :: * #

type Scopes LocationList :: [Symbol] #

type Rep LocationList Source # 
type Rep LocationList = D1 (MetaData "LocationList" "Network.Google.Resource.Coordinate.Location.List" "gogol-maps-coordinate-0.2.0-Kzac1k3aA9i2L2ETxDQgBS" False) (C1 (MetaCons "LocationList'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_llWorkerEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_llStartTimestampMs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)))) ((:*:) (S1 (MetaSel (Just Symbol "_llTeamId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_llPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_llMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32))))))))
type Scopes LocationList Source # 
type Scopes LocationList = (:) Symbol "https://www.googleapis.com/auth/coordinate" ((:) Symbol "https://www.googleapis.com/auth/coordinate.readonly" ([] Symbol))
type Rs LocationList Source # 

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.